为什么此 rsync 连接在 Windows 上意外关闭? [英] Why is this rsync connection unexpectedly closed on Windows?

查看:50
本文介绍了为什么此 rsync 连接在 Windows 上意外关闭?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 Windows 7 上使用 rsync.我安装了 cwRsync 并尝试连接到 Ubuntu 9.04.

I'm trying to use rsync on Windows 7. I installed cwRsync and tried to connect to Ubuntu 9.04.

$ rsync -azC --force --more-options ./ user@server:/my/path/
rsync: connection unexpectedly closed (0 bytes received so far) [receiver] 
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [receiver=3.0.5]
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(610) [sender=3.0.8]

推荐答案

我得到了解决方案.我一直在使用 cygwin,这是 Windows 的 rsync 命令只能在 windows shell 中工作并在 windows powershell 中工作的问题.

i get the solution. i've using cygwin and this is the problem the rsync command for Windows work only in windows shell and works in the windows powershell.

有几次在两个 linux 机器之间发生了同样的错误.并且似乎是由不兼容的 rsync 版本

A few times it has happened the same error between two linux boxes. and appears to be by incompatible versions of rsync

这篇关于为什么此 rsync 连接在 Windows 上意外关闭?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆