Gentoo Archives: gentoo-user

From: Roger Mason <rmason@×××××××.ca>
To: gentoo-user@l.g.o
Subject: [gentoo-user] rsync via ssh
Date: Sat, 03 Nov 2007 20:44:44
Message-Id: y65abpvf4nd.fsf@minnie.esd.mun.ca
1 Hello,
2
3 I'm trying to use rsync to back up my home directory on "mymachine" to another
4 machine (backup_machine) using a cron job.
5
6 This is the crontab entry (in rmason's crontab):
7
8 0,15,30,45 * * * * rmason /usr/bin/rsync -av /home/rmason backup_machine:mymachine_rmason
9
10 The logs on backup_machine show entries like this when the cron job runs:
11
12 Nov 3 17:30:06 backup_machine sshd[22048]: error: PAM: Authentication failure for rmason from mymachine.esd.mun.ca
13 Nov 3 17:30:06 backup_machine sshd(pam_unix)[22052]: authentication failure;
14 logname= uid=0 euid=0 tty=ssh ruser= rhost=mymachine.esd.mun.ca
15 user=rmason
16
17 I have passwordless ssh between mymachine and backup_machine and the
18 rsync command in the crontab runs perfectly from the command line.
19
20 Does someone know what else needs to be done to get this (seemingly
21 simple!) task to work?
22
23 Many thanks,
24 Roger
25 --
26 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] rsync via ssh Dirk Heinrichs <dirk.heinrichs@××××××.de>
Re: [gentoo-user] rsync via ssh Shawn Haggett <podge@××××××××.com>