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

Matt McCutchen matt at mattmccutchen.net
Mon Oct 13 22:09:52 GMT 2008


Naveen, please CC rsync at lists.samba.org so that others can help you and
your messages are archived for others' future benefit.

On Mon, 2008-10-13 at 15:47 -0400, Naveen Sajjan wrote:
> I just used the rsync -av hostname and I was able to connect.
> hmm...Didn't seem to use SSH. 

I guess that means an SSH tunnel is not required to access the rsync
daemon holding the CVS repositories.  You could continue using the
SSH-less command that worked, or you could use the SSH tunnel anyway if
you wish to have your data protected in transit.

> I am very new to this so please bear with me. Could you please tell me
> how to manully do the ssh? Would that be using putty?

Just run the "Tunnel command" shown by the batch file and kill it with
Ctrl-C once it connects successfully:

ssh -i "E:\BTP\PuTTY\myPrivateKey_SSH2DSA.ppk" -L 9119:127.0.0.1:873
SvcwRsync at myProject.cvs.sourceforge.net -T -N

Matt

> On Mon, Oct 13, 2008 at 1:30 PM, Matt McCutchen
> <matt at mattmccutchen.net> wrote:
>         
>         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 sourceforge.net 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:127.0.0.1:873 SvcwRsync at myProject.cvs.sourceforge.net
>         -T -N
>         > Establishing secure channel ...
>         > The authenticity of host 'myProject.cvs.sourceforge.net
>         > (216.34.181.109)' 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 myProject.cvs.sourceforge.net 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