rsync: Re: using rsync to backup windows workstations

Thomas Lambert thomas at dscassociates.com
Thu Nov 15 07:35:37 EST 2001


I thought just a straight rsync daemon was unsecure.  I am sending data from
remote dial-up sites, through the internet to my server.  That is why I am
using ssh (well trying to use it).  If this was just for my internal
network, then YES, I would probably just use the daemon.  One other problem
is that they are dial-up, so each time they connect to the internet, they
get a new IP.

I tried just doing "ssh linuxbox username -a" and I was asked for a
password. So I changed PasswordAuthentication to "no" in my sshd_config file
on the server. Restarted sshd and now I am getting permission denied. I did
copy the contents of my identity.pub, rsa_id.pub, dsa_id.pub to
authorized_keys on the server.  I'm going to read some more on ssh, but if
anyone knows a quick fix, let me know.

----- Original Message -----
From: "Bill Campbell" <bill at celestial.com>
To: <rsync at lists.samba.org>
Sent: Wednesday, November 14, 2001 2:45 PM
Subject: Re: rsync: Re: using rsync to backup windows workstations


> On Wed, Nov 14, 2001 at 10:15:59AM -0500, Thomas Lambert wrote:
> >I have about 12 NT servers that I want to backup 1 directory to my Linux
> >Server.  The problem I am having is trying to get it not to ask for the
> >user's password.  I am trying to use ssh.  I just installed the latest
> >cygwin on my NT server (1.3.4).  Rsync is 2.4.6.  What I have tried was
on
> >the NT machine, I ran ssh-keygen (no passphrase) and then added the
> >identity.pub to the Linux box in the /home/thomas/.ssh/authorized_keys.
>
> Instead of using ssh, why don't you use straight rsync, with rsync running
> in server mode on the Linux box.  You should probably put separate entries
> in /etc/rsyncd.conf for each Windows box something like the one below that
> I use to backup our local hardware suffering from the Microsoft Virus,
W2K.
>
> [dumbo_backup]
> uid = root
> gid = root
> path = /rd0/backups/dumbo
> read only = false
> use chroot = false
> comment = Backup for Dumbo Win2K
> hosts allow = 192.168.253.28
> hosts deny = *
>
> Bill
> --
> INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
> UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
> FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206)
236-1676
> URL: http://www.celestial.com/
>
> Breathe fire, slay dragons, and take chances. Failure is temporary, regret
> is eternal.
>





More information about the rsync mailing list