error in rsync protocol data stream (code 12) at io.c(165)

Wayne Davison wayned at samba.org
Mon Jun 21 18:10:46 GMT 2004


On Mon, Jun 21, 2004 at 11:47:32AM -0600, Nick Sylvester wrote:
> Remote Machine: Connection refused

This is the important part -- the connection to the remote machine was
refused.  My guess would be because it's trying to use rsh, not ssh,
however you don't have to guess -- just run rsync with -vv and you'll
see exactly what rsync is doing (or trying to do).

If my guess is correct, see the --rsh (-e) option as well as the
RSYNC_RSH environment variable.

..wayne..


More information about the rsync mailing list