On Fri, Mar 25, 2022 at 08:25:16AM -0500, Neil Aggarwal wrote:
> > I suspect the `-e ssh` part is the problem here.  That's supposed to
> > specify the remote shell, not the method for connecting.  What are you
> > attempting to achieve with that?
> 
> I am trying to do the sync over an SSH connection.
> 
> When I remove it:
> rsync --debug=ALL r...@marketing.propfinancing.com:/var/www/svnDumps
> /cygdrive/c/Tmp
> 
> I still get the error:
> 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)

Works just fine for me.  (Indeed, it works just fine even if I add `-e
ssh`, which surprised me -- clearly I have the wrong impression of what
that `-e` argument is for!)

Looking slightly closer at the logs, this reads to me like the remote
server is closing the connection, so I expect you'll need help from
whoever provides/supports that remote server to work out why it's doing
that.

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to