If you're anything like me, you will infrequently find yourself in silly situations whereby you have locked up your remote SSH session.

You know the situation - everything looks fine, but no matter what you press, nothing happens.

The quickest fix for this is to simply close the terminal and start again. However, that may well mean losing valuable bits of history, and other such unpleasentness.

A better solution to this problem is to use the keyboard shortcut of Return then ~ then ..

If all goes well, you should be kicked out of your session and returned to your local shell.

Not quite saving the day, but better than nothing. And also perfect for situations where you pause or shutdown a running VM - which I seem to do too frequently!


Share This Episode

If you have found this video helpful, please consider sharing. I really appreciate it.


Episodes in this series

# Title Duration
1 php app/console quick:walk-through --no-frills 02:22
2 Quick Linux (and Mac) Alias Tutorial 04:41
3 How To Quickly Unfreeze An SSH Session 02:17