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

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Sep 18 20:32:10 AEST 2017


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

            Bug ID: 2781
           Summary: ssh tunnel doesn't close after logout
           Product: Portable OpenSSH
           Version: 7.2p2
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: jg at jguk.org

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?


$ ssh -i "jonny3.pem" -C -D localhost:8080 ubuntu at mypc
Last login: Mon Sep 18 07:25:43 2017 from xx.xx.xx.xx
ubuntu at mypc:~$



>From my desktop:
$ /usr/bin/google-chrome --user-data-dir="$HOME/chrome-with-proxy"
--proxy-server="socks5://localhost:8080"


Try to terminate the ssh connection, and it won't

ubuntu at mypc:~$ logout

<wait 10 seconds>

<close Chrome>

Connection to x.x.x.x closed.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list