Is there some switch/option for ssh
or rsync
(something like -u username -p passowrd
) that would allow me to pass in the password?
1 Answer
Install sshpass (http://sourceforge.net/projects/sshpass/)
then you can just do it as follows:
sshpass -p "password" ssh -o StrictHostKeyChecking=no [email protected]