I am running this from a Hudson job:
rsync -auz --include="*/" --include="/builds/" --exclude='*' /var/lib/hudson/jobs/ backup@backup:/var/data/backup/build/`hostname`
and getting this error:
rsync: Failed to exec ssh: Permission denied (13)
rsync error: error in IPC code (code 14) at pipe.c(83) [sender=2.6.8]
rsync: writefd_unbuffered failed to write 4 bytes [sender]: Broken pipe (32)
rsync error: error in IPC code (code 14) at io.c(1119) [sender=2.6.8]
I can run the same rsync command from a terminal as my Hudson user, and it also works when run through the Hudson user's crontab. It seems like everything is set up correctly, but I'm missing something in the translation to Hudson land.