On the impossibility to use escape sequences when the networks hangs
Theo de Raadt
deraadt at openbsd.org
Thu Oct 16 11:48:05 AEDT 2025
> |Use [enter]~. to terminate a stuck ssh connection.
>
> But this only works at the beginning of a line.
> Only then the client turns this mechanism "hot".
Your interpretation of the situation is quite incorrect.
The two-character sequence <enter>~ is seen by the client, and it
looks for the next character. A good character to use is ?
I think you've chosen to not understand.
More information about the openssh-unix-dev
mailing list