Date: Thu, 30 May 2002 18:22:58 -0700 From: Kris Kennaway <kris@obsecurity.org> To: John Polstra <jdp@polstra.com> Cc: stable@freebsd.org, kris@obsecurity.org Subject: Re: ssh + X11 forwarding = a hung ssh process Message-ID: <20020530182258.A4728@xor.obsecurity.org> In-Reply-To: <200205310001.g4V01UM38350@vashon.polstra.com>; from jdp@polstra.com on Thu, May 30, 2002 at 05:01:30PM -0700 References: <XFMail.20020530091008.jdp@polstra.com> <20020530164114.A1623@xor.obsecurity.org> <200205310001.g4V01UM38350@vashon.polstra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Thu, May 30, 2002 at 05:01:30PM -0700, John Polstra wrote: > 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. Sorry, I misread your mail. Kris [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE89tByWry0BWjoQKURAu63AJ9C8nWtYY7UuEx/EDxcU57uJ9qbbACg8ti6 EJfAqu1MmN4RiAmftelXWq0= =4S6B -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020530182258.A4728>
