-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows rsync #4586
Comments
+1, same problem |
+1 |
This looks like a dup of #4073 |
For others that come across this issue, another possibility is that your path includes a version of ssh.exe that is not compatible with your version of rsync.exe. For instance, Git for Windows (mysysgit) includes it's own ssh.exe. If git's ssh.exe is on the path before your cygwin's rsync.exe, then you will see rsync data stream protocol errors exactly like OP. In my case, just switching the path precedence was sufficient. |
kaliatech, you solved this for me. |
@kaliatech, you save me, thank you! |
Hi,
I'm trying to get rsync to work on a Windows 7 (64-bit) host with an Ubuntu 14.04 guest.
I'm have Git BASH installed, and cwRsync 5.3.0 is in the PATH. My Vagrantfile is here.
I
vagrant up
, and rsync fails with:Running
ssh -p 2222 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i 'E:/Users/lchannings/.vagrant.d/insecure_private_key' vagrant@127.0.0.1
results in a working session.I've looked at other Windows issues around here and they all appear to be to do with path differences in cygwin vs native windows. I'm running these commands from the standard
cmd.exe
, but the GNU binutils are in PATH, so I havels
,pwd
, etc.I really don't want to have to install cygwin to get this to work. Any ideas?
Note: I get the same error in Git BASH too, not just cmd.exe.
The text was updated successfully, but these errors were encountered: