Passwordless SSH logins

You will probably want to allow password-less login of rsync to the servers you want to backup. To do this, first create a key, and then append the created .ssh/ to the target machine ~/.ssh/authorized_keys of the user you want the backup to connect with.

$ ssh-keygen -t dsa
$ cat ~/.ssh/ | ssh root@OTHER_MACHINE "cat – >> ~/.ssh/authorized_keys"
Last modified 13 years ago Last modified on Aug 9, 2009, 7:22:06 PM