#1 By: howtogeek, January 3rd, 2014 08:01
Originally published at: http://www.howtogeek.com/178798/how-to-disconnect-from-ssh-in-a-terminal-on-mac-os-x/
Ever since switching to OS X there has been one tiny annoyance bugging me, and it really is a small one: My SSH sessions will hang whenever my VPN times out, and then I have to close out of the Terminal to get it to disconnect, because SSH takes forever to time out for some reason.
#2 By: Alejandro Roger Ull, January 3rd, 2014 08:49
Just out of curiosity... what about "exit" and/or "logout"?
EDIT: Nevermind, I just saw this is what you use when your are timed out.
#3 By: Jonas Nordlund, January 3rd, 2014 12:03
I had the same problem, and then started using mosh, works perfectly and auto reconnects.
#4 By: Lowell Heddings, January 3rd, 2014 13:00
So mosh is basically screen + ssh together... but still uses SSH to connect?
My primary concern would be that the new protocol hasn't been tested much at all, so it's possible there are security holes in it. The SSH protocol is pretty solid at this point.
#5 By: system, January 13th, 2014 08:01
This topic was automatically closed after 10 days. New replies are no longer allowed.