On Tue, 25 Oct 2005, David Corbin wrote: > I have found that ssh hangs semi-consistently, when it's stdout is piped > to another process. > > I say semi-consistently, because it's not happening on all of our > machines, but it is consistent for any of the problem machines. > Furthermore, the command must actually produce output to standard out. > The remote command is actually finishing, and as a far as I can tell, is > terminating cleanly and correctly. > > Here is an easy way to reproduce it: > > ssh [EMAIL PROTECTED] ls -a | wc -l > > The following work fine: > > ssh [EMAIL PROTECTED] ls -a > ssh [EMAIL PROTECTED] ls -a >/dev/null > > My cygcheck.out file is attached. ssh reports it's version as SSH > version OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004 > > The destination host does not appear to matter (I've tested against > cygwin-sshd, and a linux box). > > This has my very baffled, and concerned. Any help appreciated.
The first thing anyone would notice is that 1.5.12 (and your OpenSSH/OpenSSL versions) are very old. The current Cygwin is 1.5.18 (going on 1.5.19), and OpenSSH is up to 4.2p1. This list cannot afford to support more than the current version of Cygwin and tools. If you can still reproduce your problem after upgrading to the latest versions of Cygwin and OpenSSH/OpenSSL, please report back to this list. FWIW, I regularly use just such a construct to reply to email -- I used it to reply to yours, and, as you can see, it <http://cygwin.com/acronyms/#WJFFM>. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. /DA -- 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/