Recover a stuck SSH session

31 07 2007

This has happened probably to everyone that uses SSH from time to time. You logged in to a terminal over SSH and your session is stuck (e.g., no response). Most people will kill the window or the process that runs SSH and open a new one. There is actually a way to recover from a stuck session and it is quite simple:
On the moment your session is stuck, you press tilde + dot (shfit “~” + “.”) on your keyboard to send a break sigal. You’ll end up at your own shell from which you can resume the session by opening it up again.




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: