From owner-freebsd-stable Thu May 30 18:23: 5 2002 Delivered-To: freebsd-stable@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-169-107-187.dsl.lsan03.pacbell.net [64.169.107.187]) by hub.freebsd.org (Postfix) with ESMTP id 5D19037B400 for ; Thu, 30 May 2002 18:22:59 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E916B66B8B; Thu, 30 May 2002 18:22:58 -0700 (PDT) Date: Thu, 30 May 2002 18:22:58 -0700 From: Kris Kennaway To: John Polstra Cc: stable@freebsd.org, kris@obsecurity.org Subject: Re: ssh + X11 forwarding = a hung ssh process Message-ID: <20020530182258.A4728@xor.obsecurity.org> References: <20020530164114.A1623@xor.obsecurity.org> <200205310001.g4V01UM38350@vashon.polstra.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200205310001.g4V01UM38350@vashon.polstra.com>; from jdp@polstra.com on Thu, May 30, 2002 at 05:01:30PM -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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 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