Using ssh file, able to copy a file from one linux machine to another linux machine by entering a password.If i want to copy 10 files, it is asking me to enter password for each file (10 times), are there any options to copy all files by entering the password only once?Sample command which i'm using: spawn scp /modules/com/sample.jar username@machinename:/modules/com/sample.jar
how to copy 10 files from one linux machine to another using ssh file without entering password 10 times
linux;shell script