Content
– Microsoft Bing kill hanging ssh sessions buntu O SEARCH E CHAT WORK IMAGES VIDEOS MAPS NEWS About 411 000 results Date " You’re not alone Help is available If you are experiencing difficult thoughts call 142 Kill an unresponsive ssh session without closing the terminal https:unix.stackexchange.comquestions2919kill-an-unresponsive-ssh-session- Asked 12 years, 4 months ago – Viewed 35k times Question Answer 177 answered Oct 8, 2010 at 23:34 One way is to use the ssh escape character. By default this is "", but it can be set manually with -e option when invoking ssh or via EscapeChar in your ssh config. To kill the hung session this will often work: As pointed out by Gilles this is only recognized immediately after hitting Enter. See More Content Under CC-BY-SA license Was this helpful?