Kill a hung SSH session

Published: 25 April 2022

Note: this article is old and may contain outdated or incorrect information.

End a hung ssh sessions with ~ + ..

In practice this doesn't also ways work for me. I've found that sometimes you must press Enter a couple of times before ~. seems to do anything.