Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rollulus
· 4y ago · 0 comments
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.
Comments
[–]
LeoPanthera
4y ago
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][~][.]
[–]
thedougd
4y ago
Great one! This needs communicated more broadly. I spent too many years of my life killing terminals because of a dead ssh connection.
[–]
danuker
4y ago
Better yet, use Mosh.
https://mosh.org/
[–]
marcobehler
4y ago
Thanks, indeed a great one! Will put it in the article.