Comment by telotortium
11 hours ago
Important to note that `~` SSH commands work only right after you press Enter - it doesn’t trigger everywhere you press `~`.
Also EnableEscapeCommandline fortunately only affects `~C` - the all-important `~.` to kill a hung SSH session still works with it disabled.
so many time i have inadvertently ended a session with a fat fingered ~.
Not ssh related but I regularly suspend my terminal with Ctrl-S by accident, usually when going for Ctrl-C/V.
That was a nightmare to triage back in the late 90s when I did it. Thankfully Ctrl-Q (I think it’s Q) “resumes”, so, easy fix if you know what you’ve done.
Correct.
- software flow control user