I want to backup files from a server to my local computer using rsync. I can only log-in to the server with an RSA ssh key.
I have stored the passphrase to the key in Seahorse Passwords and Keys, which means I can log-in to the server without having to enter the passphrase everytime. I can also execute an rsync command related to the server without entering the passphrase.
When the same rsync command is executed from a cron job, it fails, because it is looking for a DSA key (as shown in the logs) instead of the RSA key.
rsync -e 'ssh -1'