|
From: Chris F. <cfinley@u.washington.edu> - 2005-04-19 22:44:31
|
There is not much to the rsyncd configuration (which runs on the client). You need sshd running, ssh-host-config will do this on cygwin. I change sshd.conf to allow only key authorization and restrict host access so that only the backup server can log into the clients. Second, have the rsync daemon listen to localhost for better security using the "--address localhost" option. This is my command to install the Rsync deamon using WinXP and cygwin: cygrunsrv -I rsyncd -e CYGWIN=nontsec -d "CYGWIN rsyncd" -p /cygdrive/c/cygwin/bin/rsync.exe -a "--config=/cygdrive/c/cygwin/etc/rsyncd/rsyncd.conf --daemon --no-detach --address localhost" -f "Rsyncd BackupPC tool over SSH" The ssh tunnel command (on the server side) sets up port forwarding between a backuppc port (5005 on localhost) and the rsyncd service listening on 873, something like this: "ssh -f -L 5005:localhost:873 backupuser@winxpclient sleep 20" Chris Lee Nau wrote: >First time post on this list. I was looking through the list archives >and found this thread: > >http://sourceforge.net/mailarchive/message.php?msg_id=11492268 > >How will rsyncd know to tunnel over ssh? It seems like the config >parameters are set but rsyncd is not set to use said parameters. > >Thanks, >Lee > > > |