On 10/06/2010 05:43 PM, Grant wrote: > > I see what you're saying but don't I need to use the ssh command in > order to use the rdiff-backup command? > > - Grant >
You shouldn't have to, rdiff-backup does it on its own. When you execute e.g., rdiff-backup /home usern...@backup.example.com::home rdiff-backup will connect via SSH and launch that command specified in the authorized keys file. For that to work, you'll need password-less SSH to be the default when connecting to the backup server. Here's what I have in my ~/.ssh/config to force public key auth to backup.example.com: Host backup.example.com Hostname backup.example.com IdentityFile ~/.ssh/backup_rsa IdentitiesOnly yes