Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Dec 2003 11:50:50 +1100
From:      Gautam Gopalakrishnan <ggop@madras.dyndns.org>
To:        Brent Bailey <misterb@bmyster.com>
Cc:        questions@freebsd.org
Subject:   Re: rsync and unattended ssh syncing 2 machines
Message-ID:  <20031221005050.GA26010@madras.dyndns.org>
In-Reply-To: <1935.65.162.190.4.1071968218.squirrel@new.host.name>
References:  <1935.65.162.190.4.1071968218.squirrel@new.host.name>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 20, 2003 at 07:56:58PM -0500, Brent Bailey wrote:
> 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


By default, root login is denied. In /etc/ssh/sshd_config, you would
need to add "PermitRootLogin yes".

hth
Gautam



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