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

Matt McCutchen matt at mattmccutchen.net
Tue Mar 23 17:27:10 MDT 2010


On Tue, 2010-03-23 at 16:18 -0700, Bruce Korb wrote:
> does the "-e ssh" invocation of rsync actually load up rsyncd.conf ?

The double-colon source or destination path indicates the use of an
rsync daemon (which uses an rsyncd.conf file).  The explicit "-e ssh"
tells the client to invoke the daemon over ssh rather than connect to a
listening daemon.  A daemon invoked over ssh will look for rsyncd.conf
in its working directory, which is generally the remote ssh user's home
directory, unless you use "cd" or the --config option in the
--rsync-path or an ssh forced command.

-- 
Matt



More information about the rsync mailing list