Currently, I am working over an unstable network connection, so my SSH session is constantly disconnected. It is very uncomfortable situation as dropped SSH connection freeze the whole terminal.

Fortunately, I have already described SSH escape sequences, so I did not have to try every key combination to close that freaking SSH session.

I will jot down the following escape sequence to remember it later, as it is very simple key combination, but easily forgotten.

  • Press Enter to start new escape sequence
  • Press ~ (tilde)
  • Press . (dot)