rsync: connection unexpectedly closed (0 bytes received so far)

Bruce Korb bruce.korb at gmail.com
Tue Mar 23 16:05:36 MDT 2010


Please forgive my digging up a two year old thread, but I've got the
same problem, but the pointers there give no help.  This is using
versions 3.0.6 (server) and 3.0.7 (client).

Unfortunately, I have to type the client stuff in by hand.  ("Secured"
laptop with highlighting & copying disabled.)  Anyway:

$ rsync -vvvvvv -a -e ssh --recursive gdoc rsync-acct at 99.99.99.99::doc
file_struct_len=16, extra_len=4
opening connection ....
note: iconv_open("UTF-8", "UTF-8") succeeded.
sending daemon args: ..
rsync: connection unexpectedly closed (0 byes received so far) [sender]
[sender] _exit_cleanup(code=12, file=.../io.c, line=601): about to call exit(12)

==== Yet this works correctly:

rsync -vvvvv -e ssh rsync-acct at 99.99.99.99::
<<blah, blah, followed by the module list>>

=========== The rsync daemon log file had no entries from
this interchange, despite being started with a bunch of "v"s.

I can also use successfully:
   rsync -e ssh --recursive -a gdoc rsync-acct at 99.99.99.99:/gdoc
but the problem is that putting the file selection on the client is
(for many reasons)
too painful.  So, I want the selection on the server side using a config file.
But I cannot seem to get it working.

All thoughts and help greatfully appreciated!!

Regards, Bruce


More information about the rsync mailing list