Cygwin使用问题总结

Cygwin 使用rsync 报错解决

在Cygwin命令行中使用rsync时,报下面的错误:

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]

原因:
which ssh发现用的是/usr/bin/ssh这个程序。

尝试解决:使用Cygwin安装程序,重新安装openssh。
重新尝试rsync命令。问题解决。


本文链接:目录"--EOF--