linux Rsync + windows rsync + unexpected connection close

Mihai Stanescu mihai.stanescu at gmail.com
Fri Apr 10 20:26:00 GMT 2009


Hello all

I cannot sync my windows box with my linux box because of the following error.

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

I run rsync version 3.0.4 ( protocol 30) on both machines (cwRsync
binaries on windows). i sync over ssh.

Ssh command works fine from windows.
Same rsync command from the linux box works fine.
Only the rync command from windows doesnt work.

Full dump of the error

rsync.exe -e "ssh.exe -2 -i .\id_rsa -oStrictHostKeyChecking=no" -a
-vvvv "/cygdrive/E/Personal/Images/_album" user at host:"~/public_html"

cmd=ssh.exe -2 -i .\id_rsa -oStrictHostKeyChecking=no machine=host
user=<user> path=~/public_html
cmd[0]=ssh.exe cmd[1]=-2 cmd[2]=-i cmd[3]=.\id_rsa
cmd[4]=-oStrictHostKeyChecking=no cmd[5]=-l cmd[6]=user cmd[7]=host
cmd[8]=rsync cmd[9]=--server cmd[10]=-vvvvlogDtpre.iLs cmd[11]=.
cmd[12]=~/public_html
opening connection using: ssh.exe -2 -i ".\id_rsa"
-oStrictHostKeyChecking=no -l user host rsync --server
-vvvvlogDtpre.iLs . "~/public_html"
note: iconv_open("CP1252", "CP1252") succeeded.
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
_exit_cleanup(code=12, file=io.c, line=632): entered
rsync error: error in rsync protocol data stream (code 12) at
io.c(632) [receiver=3.0.4]
_exit_cleanup(code=12, file=io.c, line=632): about to call exit(12)

Killed by signal 2. < this is where i hit ctrl+C >
rsync: read error: Connection reset by peer (104)
_exit_cleanup(code=12, file=io.c, line=791): entered
rsync error: unexplained error (code 255) at io.c(791) [sender=3.0.4]
_exit_cleanup(code=12, file=io.c, line=791): about to call exit(255)

I appreciate any help. Thx

mihai


More information about the rsync mailing list