Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Dec 2003 19:56:58 -0500 (EST)
From:      "Brent Bailey" <misterb@bmyster.com>
To:        questions@freebsd.org
Subject:   rsync and unattended ssh syncing 2 machines
Message-ID:  <1935.65.162.190.4.1071968218.squirrel@new.host.name>

next in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1935.65.162.190.4.1071968218.squirrel>