1.7.9-1 Exec SSH hangs on windows 7 and 2008 server

Pierre-Yves Lafonta plafonta@amabis.fr
Thu Nov 17 11:24:00 GMT 2011


Hello,

I use cygwin sshd daemon 5.9p1-1 to send them ssh exec command.
Here my problem:

nb=106496; rm testfile; for i in ` seq 1 $nb` ; do echo 1 >>testfile;done
ssh user@host cat < testfile > outputfile

Work as expected on different cygwin plateforme (see the
cygcheck.winxp, cygcheck.seven, cygcheck.w2008 attached)

But, with one caracter more in the testfile, it stop working on seven and 2008.
The exec command hang; have to Ctrl+Z.

nb=106497; rm testfile; for i in ` seq 1 $nb` ; do echo 1 >>testfile;done
ssh user@host cat < testfile > outputfile

On host machine, cat process still alive.
it's 100% reproductible. Verbose log just show that process dont
receive sigchld signal...

AnyOne Understand what exactly happen ?
Is it a bug or a normal behaviour?
And is there a workaround or a way i have to rewrite my exec command ?

Regards,

Pierre-Yves
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.w2008
Type: application/octet-stream
Size: 11869 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20111117/65700eb2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.winxp
Type: application/octet-stream
Size: 35765 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20111117/65700eb2/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.seven
Type: application/octet-stream
Size: 14621 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20111117/65700eb2/attachment-0002.obj>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list