Tom Brown wrote:
command="rsync -avz -e "ssh -i ~/.ssh/backup-key" /backup stewart@name.of.remote.server:/backup" ssh-dss ... key ...
which user is doing this as maybe the env of that user in cron is not the same as when logged in using a shell ?
It's the same user, I haven't added the cron job yet. That's just what I intend on doing, at the moment I am having this problem from the shell.