howtogeek at January 3rd, 2014 08:01 — #1
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.
ruja at January 3rd, 2014 08:49 — #2
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.
jnordlund at January 3rd, 2014 12:03 — #3
I had the same problem, and then started using mosh, works perfectly and auto reconnects.
geek at January 3rd, 2014 13:00 — #4
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.
system at January 13th, 2014 08:01 — #5
This topic was automatically closed after 10 days. New replies are no longer allowed.