X-Recipient: archive-cygwin AT delorie DOT com 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=-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 Date: Thu, 2 Aug 2018 15:44:03 +0200 Message-ID: Subject: ssh cause mintty terminal not to close (tested on 4 cygwin installations) To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" 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) 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