howtogeek — 2014-01-03T08:01:00-05:00 — #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 — 2014-01-03T08:49:29-05:00 — #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 — 2014-01-03T12:03:23-05:00 — #3
I had the same problem, and then started using mosh, works perfectly and auto reconnects.
geek — 2014-01-03T13:00:02-05: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 — 2014-01-13T08:01:03-05:00 — #5
This topic was automatically closed after 10 days. New replies are no longer allowed.