Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to rsync between two windows computers, without using ssh.

IS there anything special I should do or will rsync be able to make use of windows accounts the same as unix accounts? Or do I need to do something special when it comes to authentication?

share|improve this question
Which rsync do you have installed on the Windows machines? – John Gardeniers Mar 29 '11 at 1:49
So I should guess by the answers that rsync can't make use of windows credentials? @John, cwrsync – Jay White Mar 30 '11 at 2:12
Rsync will absolutely use the credentials of the OS that it's on. It doesn't implement its own authentication scheme. Some server software, like FreeSHHd, will allow you to use OS accounts or set up additional accounts strictly within what it serves - but that's doubly-irrelevant to your question, since you say you're not doing this over SSH. Have you tried and run into problems, or are you just asking before you get started testing? – mfinni Mar 30 '11 at 4:34
I was just curious before I started testing, but one of the answers below actually serves my purpose, and I don't need to use an account after all. Thanks. – Jay White Mar 31 '11 at 1:34
OK - don't forget to actually accept the answer that worked for you. – mfinni Mar 31 '11 at 14:48

Maybe you can try this:

  1. Map first Windows drive to second Windows, so the drive on second windows is "Y" driver.

  2. Use rsync on second windows computer to copy data between those two computers.

rsync -vrtz /cygdrive/d/data /cygdrive/y/

You need to install Cygwin from and the necessary packages such like: "Rsync", "cygrunsrv", etc.

share|improve this answer

Checking my own installation of cwrsync doesn't help but I also have FreeSSHd installed on the same server. That one will allow you to use Windows accounts, so if you can set up rsync to use SSH through the latter you just might be on a winner. I haven't tried it myself and I'm no rsync or SSH expert, so you're on your own from here.

share|improve this answer

In addition to rsync, and using the SMB/CIFS mounting trick suggested by garconcn, you can also use Unison. It's multi-platform, and there should be a native binary for Windows so you don't have to use Cygwin.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.