Date: Thu, 30 May 2002 17:01:30 -0700 (PDT) From: John Polstra <jdp@polstra.com> To: stable@freebsd.org Cc: kris@obsecurity.org Subject: Re: ssh + X11 forwarding = a hung ssh process Message-ID: <200205310001.g4V01UM38350@vashon.polstra.com> In-Reply-To: <20020530164114.A1623@xor.obsecurity.org> References: <XFMail.20020530091008.jdp@polstra.com> <20020530164114.A1623@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <20020530164114.A1623@xor.obsecurity.org>, Kris Kennaway <kris@obsecurity.org> wrote: > On Thu, May 30, 2002 at 09:10:08AM -0700, John Polstra wrote: > > For example: my desktop machine is "strings" and the other machine > > is "thin". I start an xterm like this: > > > > strings$ ssh thin xterm > > > > Now I exit the xterm by typing "logout" into it. The xterm goes away, > > but the ssh command does not exit. It just sits there until I kill > > it. > > I think it's intentional; the ssh tunnel needs to stay open so it can > do X11 connection forwarding. Nah, I don't agree with that. The ssh process should stay around as long as there is an X11 connection open, but it should die when the last tunneled X11 connection is closed (i.e., when the remote xterm exits). That's what it's traditionally done, and that's the more useful behavior. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205310001.g4V01UM38350>