On the impossibility to use escape sequences when the networks hangs
Dennis Clarke
dclarke at blastwave.org
Tue Oct 14 11:04:44 AEDT 2025
On 10/13/25 18:03, Steffen Nurpmeso wrote:
> Hello.
>
> In short: how does one control an interactive connection that
> currently is incapable to send/receive data? ssh just hangs.
What happens if you try :
$ ssh -e\^ -l someusername remotehost
I use that sort of thing all the time. The manpage says :
-e escape_char
Set the escape character for sessions with a pty (default: '~').
The escape character is only recognized at the beginning of a
line. The escape character followed by a dot (‘.’) closes the
connection; followed by control-Z suspends the connection; and
followed by itself sends the escape character once. Setting the
character to “none” disables any escapes and makes the session
fully transparent.
That escape character *should* be processed by the client side. Unless I
am confused about the question.
--
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
More information about the openssh-unix-dev
mailing list