SSH + rsync hangs

Dan Horne
Fri Oct 21 04:27:00 GMT 2005

I'm attempting to sync files over ssh from a Linux server to a cygwin
client. The command I issue is

rsync -avz -e ssh  user@host:/remote_dir .

but the request hangs. I can ssh directrly to the server from the cygwin
shell. If I increase the logging level, I get:

$ rsync -avvvvz -e ssh  user@host:/remote_dir .
cmd=ssh machine=host user=user path=/remote_dir
cmd=ssh -l root host rsync --server --sender -vvvvlogDtprz . /remote_dir 
opening connection using ssh -l user host rsync --server --sender
-vvvvlogDtprz . /remote_dir

and then it hangs. On ctrl-c:

_exit_cleanup(code=20, file=/home/lapo/packaging/tmp/rsync-2.6.6/rsync.c,
line=163): entered
rsync error: received SIGUSR1 or SIGINT (code 20) at
_exit_cleanup(code=20, file=/home/lapo/packaging/tmp/rsync-2.6.6/rsync.c,
line=163): about to call exit(20)

It works if I issue the same request from a RedHat 8 client to the same

Cygwin Software versions:

openssh: 4.2p1-1
rsync: 2.6.6

I have also installed the latest version of cygwin


Dan Horne

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list