rsync over ssh: authentication by cryptographic key
I have 2 boxes, both using Slackware64 ver. 13.
Box1 - ssh server and rsync server daemon are functional.
Box2 - client box that connects to Box1 by ssh as well as rsync by way of ssh.
I followed the instructions in Chapter 2 of the O'Reilly book "The Secure Shell, The Definitive Guide" to setup ssh authentication by pub/private keys.
The configuration works, but only once, and upon re-logging into Box2, I find I have to go through the following setup to make it work again -
then prompted to provide passphrase.
Then rsync over ssh will work - example:
rsync -e "ssh -p 45000" -avzi firstname.lastname@example.org:/zzz /mnt/current
I want to get it configured so that it works every time with no user input, in order to configure automatic cronjobs using rsync commands like the one above.
Thanks for your help.
Last edited by Sum1; 06-25-2010 at 10:44 AM.