delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/25/10:12:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 25 Oct 2005 10:12:13 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: David Corbin <dcorbin AT enttek DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: 1.5.12 ssh hangs on some machines when stdout has content
In-Reply-To: <200510250824.42575.dcorbin@enttek.com>
Message-ID: <Pine.GSO.4.63.0510251008230.9635@slinky.cs.nyu.edu>
References: <200510250824 DOT 42575 DOT dcorbin AT enttek DOT com>
MIME-Version: 1.0

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 user AT remote-host ls -a | wc -l
>
> The following work fine:
>
> ssh user AT remote-host ls -a
> ssh user AT remote-host 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/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019