X11 forwarding via ssh not releasing ports in timely manner with IPv4 and IPv6 enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssh (Ubuntu) |
Fix Released
|
Medium
|
Colin Watson |
Bug Description
I installed LTSP, as per https:/
After logging out of an LTSP X session, the login screen would come back up --
but I found that if you attempted to log back in, you would be sent right back
to the login screen unless you waited about 5 minutes.
On the server side, I saw that the ssh session was being broken almost as soon
as it was created. I enabled debugging on the sshd daemon with -ddd, and noticed
the following in sshd's debug output:
debug6762: bind port 6010: Address already in use
A usenet post suggested that this can be caused by having IPv6 support enabled
in sshd, which I disabled by appending "AddressFamily inet" to
/etc/ssh/
Sorry, that should be https:/ /wiki.ubuntu. com/ThinClientH owto
(In reply to comment #0) /wiki.ubuntu. com/LTSPHowTo sshd_config, and the problem no longer occurs.
> I installed LTSP, as per https:/
>
> After logging out of an LTSP X session, the login screen would come back up --
> but I found that if you attempted to log back in, you would be sent right back
> to the login screen unless you waited about 5 minutes.
>
> On the server side, I saw that the ssh session was being broken almost as soon
> as it was created. I enabled debugging on the sshd daemon with -ddd, and noticed
> the following in sshd's debug output:
>
> debug6762: bind port 6010: Address already in use
>
> A usenet post suggested that this can be caused by having IPv6 support enabled
> in sshd, which I disabled by appending "AddressFamily inet" to
> /etc/ssh/