delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/08/02/09:44:18

X-Recipient: archive-cygwin AT delorie DOT 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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=forever
X-HELO: mail-wm0-f51.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=yfVVs7ej0KPiU27xX8NV0tTcGDSrcerx0s0aWAH5qTo=; b=ZYsIcfg7ify3SS/v6waf6zUTn/HqBfWk6ML0eLVe0C7fxn01oAV7OHMxikVQKDy06+ 33xixvT/xqlchXQdHan4EuHWOgV8rsuwyDbWbJsYt00ZyZfXWjHa+OVQVl/jIv6okDzK uNNAEhybCp0iYhwlCtJWhHDYnEDE4NNPtCgb21bC/YJOO6rkNRzxPQr+ve76kkBJbeaE WO09DndnV6y6yINvwejY+hdhV043IuJi1pDsU1Lt9h4qMxQ1gMGZ+7fx/fLjnv63SKfd KnX2ftDtB1ewrE0xeltCU0JAt2IdcPR3Y998nkwebEAxmz/gXRlOiD1k2vEbusV1hVvm C4UQ==
MIME-Version: 1.0
Sender: aenkaa AT gmail DOT com
From: Niels Kristian Jensen <nkj AT internetgruppen DOT dk>
Date: Thu, 2 Aug 2018 15:44:03 +0200
Message-ID: <CAOxx+NJJJggH93wpULm8TrRO-M-M3FPdiu=UQ3QtRRwO-BYFSg@mail.gmail.com>
Subject: ssh cause mintty terminal not to close (tested on 4 cygwin installations)
To: cygwin AT cygwin DOT com

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.

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.

Tested versions:

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

and

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

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.

Best regards,

Niels Kristian Jensen
Denmark

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