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=f0YIoAvyLuuwbmou OONJheG8d8qk345lWSuOjeVLihnPp8gTFNgvIjZMsi14n3JJOqSr4tdc923y8wm+ wH8GWmsRn5i8CtwB9/UKX5+pkT9n1FSvWV6t+yyktN8O2PECrM36CHwvilts8j5V YCuTdmFs2n88uwxg8SvkHyRehpQ= 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=mzBps3y/lTJS7DlBxkLq3G 53ROg=; b=bRqjygpnFIQSbm+wFLYSraoPPmdQDQ8gPgR0FAq9DR69ZAXR1h+8G1 gKFyFvafHUPtIyj6bPHN18JvcSTE83EwJoyoOA+fUAeC69i8C6Kc4BGv+zP5lPkt JTXZ/8ZHAwGVvRbZ88w+fmFCRFw2z6IVyXTE+dYGGGCTKXaAypnSQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=H*r:192.168.8, H*r:ip*192.168.8.101, H*RU:!192.168.8.101!, Hx-spam-relays-external:!192.168.8.101! X-HELO: mout.kundenserver.de Subject: Re: ssh cause mintty terminal not to close (tested on 4 cygwin installations) To: cygwin AT cygwin DOT com References: From: Thomas Wolff Message-ID: Date: Thu, 2 Aug 2018 23:06:21 +0200 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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Am 02.08.2018 um 15:44 schrieb Niels Kristian Jensen: > 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" 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", 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) See https://github.com/mintty/mintty/issues/745; mintty 2.9.0 includes some tweaks to improve interworking with ssh. > 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 > -- 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