delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/08/02/10:36:52

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=eKkqCKXRtBzdsj8x
slPFnqk6SUFcujDkEg4BSsUjqBs1525VgD+UBxsN1irHebzgCd0d6Jj2HzXIJ6Yb
RHAE0reyaRLmoOcgoIJ63y1W3phUUnkNHVIWhL7PdnDWkBOrwlLdeE6a0UB9bQVa
1EkUZvk8Qbxpeckvx27oRHvxq18=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=iy0brDwWWQgQbLwIAiAH4q
K9UTo=; b=YeYRQehrQ9Dtld8AkK7IqXJ3Wk1DmkBxXr3rn+ivVOX5H1QkN/OQW2
efBuLZBaGjk9H2dRDcJHFc9WA+2EzskLz4BtmGKMufEfXVh4HohBrcNQ53N7TYvz
5/x9JcA6uzQu5xZDKRIL4VFYWp3O3oSb2jn3FKRyd8OZ6vZ5WKSAc=
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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Edition, Home
X-HELO: mail-it0-f52.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=QzV8cbUhcvcjAYws+dwB2y2pH6ctOaMMRB1An2JKKhg=; b=oz8Il5iDYuYRyWwzQF3KUrxHO1i9VxkF+MXZ7ponnUmyYSVROp7zBxgfSxU42FS8Tv WEbUkVYLMuar6UQnvMQGMVMZMT3dwHhVMD8b3pZUVldmbkvv36E3LDBExW4m1/ywUJlt 5TDw6CsseR1+wK0jJgIuVRXu3Iwsvher9jzwcPx3iD6rjdSwQ35HaDMHuVUEG6tIFzAg 3dVMNyUd6u6ZzoO+IccTAB0G+1IoSsHH28TqBWxtsvUoFi5H1622XY0Jh9AjAcHrAg0N afRjibCvc2Zue6dR2F0qNxCji9O738FT7VsFDy16GGSyLCRCqwHNyMsMYC+fiLWX5gnO 04rQ==
Subject: Re: ssh cause mintty terminal not to close (tested on 4 cygwin installations)
To: cygwin AT cygwin DOT com
References: <CAOxx+NJJJggH93wpULm8TrRO-M-M3FPdiu=UQ3QtRRwO-BYFSg AT mail DOT gmail DOT com>
From: cyg Simple <cygsimple AT gmail DOT com>
Openpgp: preference=signencrypt
Message-ID: <d25c3550-f2b5-b4df-887b-b8048af4400f@gmail.com>
Date: Thu, 2 Aug 2018 10:36:34 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <CAOxx+NJJJggH93wpULm8TrRO-M-M3FPdiu=UQ3QtRRwO-BYFSg@mail.gmail.com>
X-IsSubscribed: yes

On 8/2/2018 9:44 AM, Niels Kristian Jensen wrote:
> I've noticed a strange behavior of the standard Cygwin Terminal (mintty):
> 
> If I open a Cygwin Terminal (using the shortcut on the desktop installed by
> Cygwin setup) and just press Ctrl-D, it writes "logout" and closes the
> window as expected.
> 
> If I do the same, but give one command "ssh<enter>" first, the word
> "logout" appear, the window goes black, but the window does not close (!) The
> window can still be closed using the "X" in upper right corner.
> 

I see no such problem with Windows 10 Home Edition.

> If I replace the command with "ssh -V<enter>", the window closes as
> expected when I press Ctrl-D.
> 
> This may seem like a minor thing, but we have much trouble with Jenkins
> builds (started via Cygwin OpenSSH) which randomly hang forever - I wonder
>  if this could be a clue in this investigation.
> 

I doubt it ... see below.

> Tested versions:
> 
> Windows Server 2008 R2
> OpenSSH_7.3p1, OpenSSL 1.0.2j  26 Sep 2016
> mintty 2.7.0 (i686-pc-cygwin)
> 

What arch is this server?  x86_64 or i686?

> and
> 
> Windows 10
> OpenSSH_7.6p1, OpenSSL 1.0.2m  2 Nov 2017
> mintty 2.8.1 (i686-pc-cygwin)
> 

Same questions!

> Only commented lines appear in /etc/ssh_config , ~/.bashrc and
> ~/.bash_profile on both systems.
> 
> I would be glad if (some of) you could repeat this test on your system -
> perhaps this behavior is due to some local problem on my systems.
> 

If you have x86_64 (i.e. 64bit) servers then install 64bit Cygwin to see
it this continues.  Otherwise follow the instructions at ...

> Problem reports:       http://cygwin.com/problems.html

-- 
cyg Simple

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