Close a frozen SSH session

Just a short one here, but I spend a lot of time using SSH to connect to a remote server and occassionally a session will freeze. Usually my solution is to close the terminal and start again, but there’s a neater way to just cancel the SSH session itself. Enter these keys, one after the other (not together):

[enter]
~
.

That is, the enter key, the tilde, and a period. Your SSH session should close and you can re-open it without starting a new terminal.

2 Responses to Close a frozen SSH session



Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>