Why does gnome-terminal freeze when an SSH session gets disconnected?

458

Solution 1

The session will eventually time out and disconnect; this will happen faster if you configure ServerAliveInterval and ServerAliveCountMax in ~/.ssh/config. To force an immediate disconnect, Return~..

Solution 2

Without getting into the why of it, here's how you fix it:

~.

that's tilde-dot. Press those two keys, one after another, and that will disconnect from the hung ssh session and give you back your terminal. Yay!

Share:
458

Related videos on Youtube

artwork21
Author by

artwork21

Updated on September 18, 2022

Comments

  • artwork21
    artwork21 over 1 year

    I have some basic experience using sql server 2008 R2 (server management studio). I was wondering if the express version can be installed and used on a non server computer (os = MS XP). I have a simple web app that I want to test/practice connecting to the db, and performing simple insert/delete/update commands on a table. Can this be done?

    Thank you