ssh - how to send password ?

Huw Wyn Jones huw at pioden.net
Wed Feb 18 22:04:11 GMT 2004


Hi,

I'm trying to learn rsync and to aid this I'm trying some 'simple' 
syncronising over the net using SSH. What I can't find clearly explained 
in the docs is where to put the remote user password in the command line 
argument.

For example I want to sync the two 'documents' directories - one on my 
local Linux box and another on  a server in my office. The command I'm 
planning to use is:

rsync -avz -e ssh /home/huw/documents 
huw at mydomain.co.uk:/home/huw/documents/

What I can't find is where to put the password for the remote user ?

TIA

Huw



More information about the rsync mailing list