Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2002 16:41:14 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        John Polstra <jdp@polstra.com>
Cc:        stable@freebsd.org
Subject:   Re: ssh + X11 forwarding = a hung ssh process
Message-ID:  <20020530164114.A1623@xor.obsecurity.org>
In-Reply-To: <XFMail.20020530091008.jdp@polstra.com>; from jdp@polstra.com on Thu, May 30, 2002 at 09:10:08AM -0700
References:  <XFMail.20020530091008.jdp@polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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

On Thu, May 30, 2002 at 09:10:08AM -0700, John Polstra wrote:
> I've been seeing a strange problem involving ssh's X11 forwarding
> on FreeBSD-stable systems.  Here's the scenario.  From my desktop
> machine I use ssh to run an X11 application on a different machine.
> The application appears on my desktop's screen as expected, and it
> works fine.  Now I exit the application.  But the ssh command does not
> exit; it remains hung until I kill it.
>=20
> For example: my desktop machine is "strings" and the other machine
> is "thin".  I start an xterm like this:
>=20
>     strings$ ssh thin xterm
>=20
> 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.

Kris

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

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

iD8DBQE89riaWry0BWjoQKURAiQUAKDOg9+RYVowLgwX2MMrZG21FDluFACgxGpu
mi3QfE3kfhObrOaXrvQVKUE=
=ZX5q
-----END PGP SIGNATURE-----

--dDRMvlgZJXvWKvBx--

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?20020530164114.A1623>