[Bug 2781] ssh tunnel doesn't close after logout

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Sep 18 21:34:04 AEST 2017


https://bugzilla.mindrot.org/show_bug.cgi?id=2781

Darren Tucker <dtucker at zip.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at zip.com.au

--- Comment #1 from Darren Tucker <dtucker at zip.com.au> ---
(In reply to jg from comment #0)
> I noticed that an SSH tunnel won't close until I exit Chrome Browser
> that was using the tunnel. Shouldn't ssh force close of the
> connection?

No.  In SSH2 the connection and the login are distinct things.

> Try to terminate the ssh connection, and it won't
> ubuntu at mypc:~$ logout

No, you're terminating the interactive shell's channel, which is one of
possibly many channels within the connection.  If you really want to
kill the connection regardless of how many channels are open then use
the ~. escape sequence.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list