~.
That’s it! If you’re in a system and your modem dropped, or your DSL hung, or your connection just got lost and ssh didn’t kick you back to your prompt, just hit ~. and you’ll disconnect.
Again that’s Tilde (~) and then period (.)
If you’re in multiple systems in a chain of SSH connections this will disconnect you from the one your local machine is connected to.
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.