Monday, October 24, 2011

Cutting a hanging SSH connection loose

Here is something useful I learned a couple of weeks ago. To cut a hanging SSH connection loose and to free the terminal only requires the following characters/keystrokes:

[Enter]~.

However on some keyboard layouts e.g. sv/fi, the tilde needs an space so the keystrokes are:

[Enter][AltGr]~[Space].