From owner-freebsd-questions@FreeBSD.ORG Sat Dec 20 16:46:04 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2B1B16A4CE for ; Sat, 20 Dec 2003 16:46:04 -0800 (PST) Received: from bmyster.com (loqtis.bmyster.com [65.162.190.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4435143D39 for ; Sat, 20 Dec 2003 16:46:02 -0800 (PST) (envelope-from misterb@bmyster.com) Received: from loqtis.bmyster.com (localhost.bmyster.com [127.0.0.1]) by bmyster.com (8.12.10/8.12.10) with ESMTP id hBL0v3VL000550 for ; Sat, 20 Dec 2003 19:57:03 -0500 (EST) Received: (from www@localhost) by loqtis.bmyster.com (8.12.10/8.12.10/Submit) id hBL0uwUt000549; Sat, 20 Dec 2003 19:56:58 -0500 (EST) X-Authentication-Warning: loqtis.bmyster.com: www set sender to misterb@bmyster.com using -f Received: from 65.162.190.4 (SquirrelMail authenticated user mrb) by new.host.name with HTTP; Sat, 20 Dec 2003 19:56:58 -0500 (EST) Message-ID: <1935.65.162.190.4.1071968218.squirrel@new.host.name> Date: Sat, 20 Dec 2003 19:56:58 -0500 (EST) From: "Brent Bailey" To: questions@freebsd.org User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal Subject: rsync and unattended ssh syncing 2 machines X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: misterb@bmyster.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2003 00:46:04 -0000 ive been trying to get rsync to work with unattended SSH and syncing of file systems between 2 machines running FBSD 4.9RC. I have rsync installed and i run a script like #!/bin/sh remote="192.168.25.12" fslist="/var/mail /var/db/mysql /usr/local/www/data /user2" for fs in $fslist ; do /usr/local/bin/rsync -avz --delete ${remote}:${fs}/ ${fs}/ done but when i tail the logs of the remote machine i see.. Dec 20 19:23:26 doppleganger sshd[24493]: Failed password for root from 192.168.25.1 port 4476 Anyone have any good luck with doing this ? suggestions ?? any all all help is greatly appreciated -- Brent