Linux: Disconnect a Stalled SSH Session
I’ve recently told everyone about my semi-switch over from an all Windows enviromnet to adding some Linux boxes to my regularly used boxes. I’ve also been using SSH in Linux alot more, and every once in a while, I end up with a stalled SSH session. In my Windows world, I’d just close puTTY and start again, not the same when I’m in Linux. I was searching around and found this little trick.
Shift + ~ and then the .
That’s holding the shift key plus the ~ (which is the key above the tab key), then releasing them and then hitting the . (period) key. I’ve seen some people need to hit ENTER first to clear the session buffer.