X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: Bash process hangs around forever after ssh disconnect Date: Sun, 23 Nov 2008 20:47:21 +0100 Lines: 29 Message-ID: References: <4928624D DOT 8090800 AT Hipp DOT com> <492980CF DOT 9000408 AT Hipp DOT com> <4929A1D6 DOT 9080001 AT Hipp DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/2.70.2067 X-IsSubscribed: yes 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 * 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/