delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/11/21/07:36:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4ECA4591.9070001@amabis.fr>
Date: Mon, 21 Nov 2011 13:35:29 +0100
From: "Pierre-Yves, Lafonta" <plafonta AT amabis DOT fr>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20111031 Thunderbird/7.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.9-1 Exec SSH hangs on windows 7 and 2008 server
References: <CAOpos-dideGjd81HfDZKZ15cALQ+3Pdx00jeGEvZ+ZC=WRcKmg AT mail DOT gmail DOT com> <CAOpos-dk2RdQ_DFtWinBbkDYvrrgK7_Jw72oWcsw-PjDWc1wCA AT mail DOT gmail DOT com>
In-Reply-To: <CAOpos-dk2RdQ_DFtWinBbkDYvrrgK7_Jw72oWcsw-PjDWc1wCA@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Hello,

If those informations could help in anyway ... ( or give workaround for 
people face to same problem)
I tried install other SSH servers to reproduce (or not) my problem:

winsshd 5.26 is OK
mobaSSH is KO


Regards,


Le 17/11/2011 12:23, Pierre-Yves Lafonta a écrit :
> 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 AT 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 AT 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


--
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

- Raw text -


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