Thursday, November 5, 2009

Terminate a a frozen SSH session

As a frequent user of SSH I will regularly forget about an open session, put my laptop to sleep and when I open it back up find myself with a frozen Terminal session. This is an annoyance that I have always just solved by closing that session. Well it turns out there is a cleaner solution to this problem. When you find yourself with a frozen SSH session, enter these keystrokes to close the frozen connection:
ENTER ~ .
Thanks to Command Line Fu user n20 for pointing this out.

3 comments: