Re:SSH Cheat Sheet
by rollulus on Friday July 08, 2022 @07:06AM
(#32025558)
My favorite Konami code level of cheat: ssh escape sequences. On a new line: ~. to terminate a connection that’s stuck. Or ~? for more help.
[ Parent
| on HN ]
Re:SSH Cheat Sheet
by LeoPanthera on Friday July 08, 2022 @07:50AM
(#32025915)
Since it's sometimes unclear whether you are on a new line in a stuck terminal, I find it simpler to remember the sequence as [Return][~][.]
Great one! This needs communicated more broadly. I spent too many years of my life killing terminals because of a dead ssh connection.
Better yet, use Mosh.
Re:SSH Cheat Sheet
by marcobehler on Friday July 08, 2022 @08:12AM
(#32026141)
Thanks, indeed a great one! Will put it in the article.