From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IoPrI-00011J-2m for garchives@archives.gentoo.org; Sat, 03 Nov 2007 20:44:44 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id lA3KgDxe009864; Sat, 3 Nov 2007 20:42:13 GMT Received: from fitzgerald.ucs.mun.ca (mx5.mun.ca [134.153.232.57]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id lA3KaP9g002821 for ; Sat, 3 Nov 2007 20:36:26 GMT Received: from minnie.esd.mun.ca (minnie.esd.mun.ca [134.153.36.8]) by fitzgerald.ucs.mun.ca (8.13.1/8.13.1) with ESMTP id lA3Ka6CC012397 for ; Sat, 3 Nov 2007 18:06:07 -0230 Received: from minnie.esd.mun.ca (minnie.esd.mun.ca [134.153.36.8]) by minnie.esd.mun.ca (8.14.0/8.13.3) with ESMTP id lA3Ka6Hr029329 for ; Sat, 3 Nov 2007 18:06:06 -0230 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] rsync via ssh From: Roger Mason Date: Sat, 03 Nov 2007 18:06:06 -0230 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.001005 (2006-08-29) X-Spam-Status: No, hits=-11.4 required=5.0 tests=ALL_TRUSTED,USER_IN_WHITELIST version=3.1.5 X-Spam-Report: -10 USER_IN_WHITELIST From: address is in the user's white-list * -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP X-Scanned-By: MIMEDefang 2.57 on 134.153.232.57 X-Archives-Salt: ea709c8a-bf9d-4f3f-9998-7ade6a20a86e X-Archives-Hash: 1d9101d3e39e38997c86c5b234afe39e 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 -- gentoo-user@gentoo.org mailing list