wiki:PasswordLessSSHLogic

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/id_dsa.pub to the target machine ~/.ssh/authorized_keys of the user you want the backup to connect with.

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