X-Spam-Check-By: sourceware.org
Message-ID: <31b7d2790702021133p46911da3l97af1e2cf03d9f41@mail.gmail.com>
Date: Fri, 2 Feb 2007 13:33:01 -0600
From: "DePriest, Jason R." <jrdepriest@gmail.com>
To: cygwin@cygwin.com
Subject: Re: closing SSH session leaves a zombie bash process
In-Reply-To: <2f9457700701302017geba9987xd2d2d3d0343ae189@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <2f9457700701302013h32437124x42e9739cb21ed449@mail.gmail.com> 	 <2f9457700701302017geba9987xd2d2d3d0343ae189@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 1/30/07, Patrick Herbst  wrote:
> i just noticed this today after i updated my base cygwin yesterday.
> if i use putty to establish a ssh session and just hit the X to close
> (instead of typing 'exit'), the server leaves a copy of bash running
> till i go in an manually end process.
>
> i've tried reinstalling everything and still have the same problem
>
> i'm using the base install with only openssh added.
>
> i dont think i had this problem before i updated yesterday.
>
> can anyone duplicate this?  and does anyone have any idea about what
> could fix it?
>
> thanks,
> patrick

See if this helps: http://www.cygwin.com/ml/cygwin/2006-12/msg00261.html

I know the referenced message is rxvt + bash specific, but it should
give you some things to look for in putty + ssh + bash.

http://www.cygwin.com/ml/cygwin/2005-12/msg00209.html seems less relevant.

A search of the archives for zombie bash or zombie ssh gives tons of pointers.

Basically, don't hit the X, type in 'exit'.

-Jason

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

