From owner-freebsd-questions@FreeBSD.ORG Sat Dec 20 17:06:37 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 8F3BA16A4CE for ; Sat, 20 Dec 2003 17:06:37 -0800 (PST) Received: from bmyster.com (loqtis.bmyster.com [65.162.190.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C25E43D62 for ; Sat, 20 Dec 2003 17:06:35 -0800 (PST) (envelope-from mrb@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 hBL0rDVL000499 for ; Sat, 20 Dec 2003 19:53:15 -0500 (EST) Received: (from www@localhost) by loqtis.bmyster.com (8.12.10/8.12.10/Submit) id hBL0r8Ek000498; Sat, 20 Dec 2003 19:53:08 -0500 (EST) X-Authentication-Warning: loqtis.bmyster.com: www set sender to mrb@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:53:08 -0500 (EST) Message-ID: <1923.65.162.190.4.1071967988.squirrel@new.host.name> Date: Sat, 20 Dec 2003 19:53:08 -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 between 2 machines X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mrb@bmyster.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2003 01:06:37 -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