rsync via ssh script

Tim Nonnast negweb at nonnast.com
Mon Mar 22 17:35:10 GMT 2004


Hi,

does anybody know, how a bash shell script looks, which automatically 
enters the ssh password?

the rsync call should be:
rsync -avz -e ssh /home/johndoe/data/repository 
billythegate at 192.168.10.102:/home/johndoe/junk

the call causes a password question.

Is ist possible to automate that by a cron? If yes how should the script 
look to automatically enter the password?

ThanX for an answer.

Cheers,
Tim




More information about the rsync mailing list