Hello,

I'm trying to use rsync to back up my home directory on "mymachine" to another
machine (backup_machine) using a cron job.

This is the crontab entry (in rmason's crontab):

0,15,30,45 * * * *      rmason /usr/bin/rsync -av /home/rmason 
backup_machine:mymachine_rmason

The logs on backup_machine show entries like this when the cron job runs:

Nov  3 17:30:06 backup_machine sshd[22048]: error: PAM: Authentication failure 
for rmason from mymachine.esd.mun.ca
Nov  3 17:30:06 backup_machine sshd(pam_unix)[22052]: authentication failure;
     logname= uid=0 euid=0 tty=ssh ruser= rhost=mymachine.esd.mun.ca
     user=rmason

I have passwordless ssh between mymachine and backup_machine and the
rsync command in the crontab runs perfectly from the command line.

Does someone know what else needs to be done to get this (seemingly
simple!) task to work?

Many thanks,
Roger
-- 
[EMAIL PROTECTED] mailing list

Reply via email to