SSH session with SOCKS5 proxy does not logout/exit properly -


it 'hangs' if use 'exit' command, , have terminate terminal. using on mac. use -d option ssh on port.

edit: happens when have used proxy/connection in browser send requests remote server. if try exit session without doing so, logs out gracefully.

this happens because ssh won't exit if there outstanding connections going through tunnel/proxy.

if quit browser (close windows), ssh exits normally. tcp , x11 connections need closed before exiting ssh session.

i found no options change this, assume can nothing prevent behavior.