delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/23/14:48:37

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: Bash process hangs around forever after ssh disconnect
Date: Sun, 23 Nov 2008 20:47:21 +0100
Lines: 29
Message-ID: <ggcc0g$j7h$1@ger.gmane.org>
References: <4928624D DOT 8090800 AT Hipp DOT com> <ggbt21$84g$1 AT ger DOT gmane DOT org> <492980CF DOT 9000408 AT Hipp DOT com> <ggc1mk$ffo$2 AT ger DOT gmane DOT org> <4929A1D6 DOT 9080001 AT Hipp DOT com>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/2.70.2067
X-IsSubscribed: yes
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

* Michael Hipp (Sun, 23 Nov 2008 12:32:54 -0600)
> Thorsten Kampe wrote:
> > In all likelihood you do NOT want sshd to kill your shell because
> > you loose connection for a while. Let me repeat: you do NOT want
> > that.
> 
> Really? Should I call Red Hat, SUSE, Debian and Ubuntu and all the
> others and tell them they've been doing it wrong all these years?
> That's *exactly* how every Linux I've ever used works.
> 
> > You want the ability to reconnect to that session once the physical
> > connection is reestablished. "screen" gives you that ability.
> 
> I know about "screen". I use it regularly. But screen is off-topic. Unless 
> there is some way screen can re-connect to a dangling bash session; I thought 
> screen could only re-connect to screen. If it has that ability I'd like to be 
> educated to it.

Screen is /not/ off-topic because it is the solution to your problem. If 
you are asking for a solution where you cannot use screen because it is 
not installed or because you forgot to run it before starting a shell 
then you should say so.

Let's assume you could not run or forgot to run screen: a quick Google 
search for "cygwin bash ssh zombie sessions" leads to the conclusion 
that you're not the first one who noticed that. Well, probably you 
should use screen.

Thorsten


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019