Skip site navigation (1)Skip section navigation (2)
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

--cWoXeonUoKmBZSoM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
> >=20
> > I think it's intentional; the ssh tunnel needs to stay open so it can
> > do X11 connection forwarding.
>=20
> 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

--cWoXeonUoKmBZSoM
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE89tByWry0BWjoQKURAu63AJ9C8nWtYY7UuEx/EDxcU57uJ9qbbACg8ti6
EJfAqu1MmN4RiAmftelXWq0=
=4S6B
-----END PGP SIGNATURE-----

--cWoXeonUoKmBZSoM--

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?20020530182258.A4728>