0

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 1

2

Install sshpass (http://sourceforge.net/projects/sshpass/)

then you can just do it as follows:

sshpass -p "password" ssh -o StrictHostKeyChecking=no [email protected]

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .