rsync gives me error 12

Neil Aggarwal neil@propfinancing.com
Fri Mar 25 17:14:22 GMT 2022


Adam:

> this reads to me like the remote
> server is closing the connection

When I run this command on my Windows machine:
rsync --debug=ALL root@marketing.propfinancing.com:/var/www/svnDumps
/cygdrive/c/Tmp

I get this output on the screen:
opening connection using: ssh -l root marketing.propfinancing.com rsync
--server --sender -e.LsfxCIvu . /var/www/svnDumps  (10 args)
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226)
[sender=3.1.3]
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(228)
[Receiver=3.2.4dev]
[Receiver] _exit_cleanup(code=12, file=io.c, line=228): about to call
exit(12)

It is connecting to the Linux server and immediately disconnecting, here
is what I see in /var/log/secure:
Mar 25 12:11:00 marketing sshd[43597]: Postponed publickey for root from
99.137.191.183 port 64715 ssh2 [preauth]
Mar 25 12:11:00 marketing sshd[43597]: Accepted publickey for root from
99.137.191.183 port 64715 ssh2: RSA SHA256:[removed]
Mar 25 12:11:00 marketing sshd[43597]: pam_unix(sshd:session): session
opened for user root by (uid=0)
Mar 25 12:11:00 marketing sshd[43600]: Received disconnect from
99.137.191.183 port 64715:11: disconnected by user
Mar 25 12:11:00 marketing sshd[43600]: Disconnected from user root
99.137.191.183 port 64715
Mar 25 12:11:00 marketing sshd[43597]: pam_unix(sshd:session): session
closed for user root

I'm stumped at this point.

Thank you,
  Neil

--
Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com
We offer 30 year loans on single family houses!


More information about the Cygwin mailing list