Securing Rsync

Max Bowsher maxb at ukf.net
Mon Jan 27 16:49:00 EST 2003


Mike Winfrey wrote:
> I have a rsync server set up on a win2k server and a win xp pro
> computer is my client. It's working very well doing the anonymous
> transfers. However, I've tried setting up a password file and not
> having any success.
> 
> rsync.secrets on my rsync server
> user:password
> 
> I run the following command string on my client computer:
> C:\rsync\rsync.exe -av --delete --password-file=/rsync/rsync.secrets
> "/cygdrive/C/Documents and Settings/All Users" 
> "user at server::serverbu/" 
> 
> the password file on my XP machine looks just like the one on the
> server.

There is your problem, then. From the manpage:

--password-file
       (The file) should contain just the password as a single line.

> I tried "set rsync_password=password" as well but that doesn't work
> either.

rsync_password != RSYNC_PASSWORD


Max.




More information about the rsync mailing list