www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <ddc185be0811240356o4e04d794tcc5c9cafac6dcbc2@mail.gmail.com> |
Date: | Mon, 24 Nov 2008 14:56:47 +0300 |
From: | "Dmitry Semyonov" <linulin AT gmail DOT com> |
To: | Michael AT hipp DOT com, cygwin AT cygwin DOT com |
Subject: | Re: Bash process hangs around forever after ssh disconnect |
In-Reply-To: | <4928624D.8090800@Hipp.com> |
MIME-Version: | 1.0 |
References: | <4928624D DOT 8090800 AT Hipp DOT com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
Michael, On Sat, Nov 22, 2008 at 22:49, Michael Hipp <Michael AT hipp DOT com> wrote: > I'm logging in to a W2k server via cygwin sshd and using Putty as my > terminal emulator. If my ssh connection gets dropped for any reason the > bash.exe process on the host just stays there forever. Also, anything I was > running in bash (e.g. vim) will stay there forever. > > Anything that can be done about this? 1. Use reliable connection. 2. Gracefully close all started applications and shell instead of pressing Alt-F4 or 'x' icon in PuTTY. 3. If #1 is not an option, then either 3.a. use 'screen' from the beginning, reconnect to your session after connection drop, and follow #2; or 3.b. reconnect to the server after connection drop, and kill all previously started applications. Note that I've never tried (3.a) in Cygwin. -- ...Bye..Dmitry. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |