This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

SSH + rsync hangs


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
/home/lapo/packaging/tmp/rsync-2.6.6/rsync.c(163)
_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
server.

Cygwin Software versions:

openssh: 4.2p1-1
rsync: 2.6.6

I have also installed the latest version of cygwin

regards

Dan Horne



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]