rsync error: Error in socket IO(code 10) at clientserver.c(122)

Matt McCutchen matt at
Mon Oct 13 17:30:50 GMT 2008

On Mon, 2008-10-13 at 11:51 -0400, Naveen Sajjan wrote:
>  I am using cwrsync ver 2.1.5 over SSH to connect to
> myproj at and facing some problems and not sure how to go
> about it. Below is the full text of the result when I run the batch
> file. Was wondering if anyone has seen any similar issue. Any
> thoughts/help is much appreciated.
> ------------------------------------------------
> Tunnel: ssh
> Command to run: "C:\Program Files\cwRsync\bin\rsync.exe"
> -av /cygdrive/c/backup/
>  rsync://SvcwRsync@localhost:9119/cvsroot/myproject
> Tunnel command: ssh -i "E:\BTP\PuTTY\myPrivateKey_SSH2DSA.ppk" -L
> 9119: SvcwRsync at -T -N
> Establishing secure channel ...
> The authenticity of host '
> (' can't be established.
> RSA key fingerprint is
> dc:a3:df:84:00:c6:65:b4:93:a6:2e:22:b1:d1:91:b8.
> Are you sure you want to continue connecting (yes/no)? rsync: failed
> to connect
> to localhost: Connection refused (111)
> rsync error: error in socket IO (code 10) at clientserver.c(122)
> [sender=3.0.4]
> Terminating secure channel ...
> ------------------------------------------------

It looks like the ssh host key check is interfering with the creation of
the tunnel.  If you ssh to SvcwRsync at once
manually and accept the host key warning, you should then be able to use
the batch file.


More information about the rsync mailing list