rsync gives me error 12
Wayne Davison
wayne@opencoder.net
Fri Mar 25 22:41:52 GMT 2022
On Fri, Mar 25, 2022 at 10:37 AM Neil Aggarwal wrote:
> I still get an error:
> rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
> rsync error: error in rsync protocol data stream (code 12) at io.c(226)
> [Receiver=3.1.3]
> rsync: connection unexpectedly closed (0 bytes received so far) [sender]
> rsync error: error in rsync protocol data stream (code 12) at io.c(228)
> [sender=3.2.4dev]
As the rsync issues & debugging page mentions, you should try forcing
errors to stderr to see if it makes the remote rsync report its error
to you:
--msgs2stderr -M--msgs2stderr
It also mentions an rsync-debug script that you can put on the remote
host and use to get the strace output of what is happening and get a
core dump (if it is dumping core).
https://rsync.samba.org/issues.html
Also, try running the following test command and make sure you see the
word "hi" and nothing else:
echo hi | ssh root@marketing.propfinancing.com cat
..wayne..
More information about the Cygwin
mailing list