rsync协议数据流中的Vagrant windows 7错误

时间:2016-02-03 16:46:04

标签: ssh vagrant rsync vagrantfile vagrant-windows

我的Vagrant有问题。当它想要将主机文件夹与VM文件夹同步时,我收到以下错误消息:

==> default: Rsyncing folder: /c/Users/loow/Documents/internavenue-vagrant/ => /home/vagrant/sync

尝试rsync同步文件夹时出错。     请查看下面的错误消息以获取更多信息。

Host path: /c/Users/loow/Documents/internavenue-vagrant/
Guest path: /home/vagrant/sync
Command: rsync --verbose --archive --delete -z --copy-links --chmod=ugo=rwX --no-perms --no-owner --no-group --rsync-path sudo rsync -e ssh -p 2222 -o ControlMaster=auto -o ControlPath=C:/Users/loow/AppData/Local/Temp/ssh.126 -o ControlPersist=10m -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o UserKnownHostsFile=/dev/null -i 'C:/Users/loow/Documents/internavenue-vagrant/.vagrant/machines/default/virtualbox/private_key' --exclude .vagrant/ /c/Users/loow/Documents/internavenue-vagrant/ vagrant@127.0.0.1:/home/vagrant/sync
Error: Warning: Permanently added '[127.0.0.1]:2222' (ECDSA) to the list of known hosts.

mm_receive_fd: no message header

process_mux_new_session: failed to receive fd 0 from slave

mux_client_request_session: read from master failed: Connection reset by peer

Failed to connect to new control master

rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: err

我在Windows 7下,并且在更改文件夹名称广告后将thereC:\下载到PATH=%PATH%;C:\rsync\bin,并且在cmd中我将其添加到具有集org.scalamock.scalatest.MockFactory的路径中但我仍然得到这个消息。我还安装了Git ssh,但我不认为这是问题。我能做些什么呢,我真的要解决它,因为我无法与VM同步文件夹。

0 个答案:

没有答案