2 Sep
2001
2 Sep
'01
22:40
[Carlos said:]
i am thinking for using rsync over ssh. but i have a problem, the sys ask me for writting the ssh password. there is any method using rsync and ssh for sending the password whitout writte it? my plan is to use rsync over ssh in a cron. thanks
You have to set up the client side with ssh-keygen with no passphrase, and use ssh with "-oBatchMode=yes". So to use rsync you would: rsync -a -e 'ssh -oBatchMode=yes' ... Hope this helps. -- Bill Duncan, VE3IED | BeachNet --> http://www.beachnet.org bduncan@BeachNet.org | - Network/System Administration +1 416 693-5960 | - System Analysis/Design/Programming