Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2002 18:40:31 +0200
From:      "Jose M. Alcaide" <jose@we.lc.ehu.es>
To:        John Polstra <jdp@polstra.com>
Cc:        stable@FreeBSD.ORG
Subject:   Re: ssh + X11 forwarding = a hung ssh process
Message-ID:  <20020530184031.C229@v-ger.we.lc.ehu.es>
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
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.
>
> [SNIP]

Same here. I found that the problem only manifests itself when using the
SSH2 protocol.

When connecting from a machine running 4.5-RELEASE to another one running
4.5-RELEASE or 5.0-CURRENT, the ssh command remains hung just as you
described. However, if the connection is established from a 5.0-CURRENT
system, no message ("waiting for forwarded connections to terminate...")
is displayed after closing the ssh session, but the ssh command *does*
exit when the X11 client terminates.

-- 
****** Jose M. Alcaide  //  jose@we.lc.ehu.es  //  jmas@FreeBSD.org ******
** "Beware of Programmers who carry screwdrivers" --  Leonard Brandwein **

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?20020530184031.C229>