When opening an SSH console on an already established connection (e.g. LF ~ C), I get ^H instead of backspace regardless of terminal and setup (that I've tried).
It is really bad as any mistake requires ^C which then breaks the connection.
Is there a sure way to have backspace work?
terminal is xterm
XTERM_VERSION=XTerm(402)
XTERM_SHELL=/bin/bash
XTERM_LOCALE=C
TERM=xterm
(tried TERM=xterm-direct, and TERM=st, which fixes somes wayland issues)
$ stty -a
speed 38400 baud; rows 30; columns 128; line = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S;
susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
-parenb parodd -cmspar cs8 hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc
stty -a(inside and outside ssh session) and in particular theerasesetting? Terminals sending^Hinstead of^?upon Backspace is unusual there days. Which are you using?^Cfrom the ssh console doesn't break the connection for me on Ubuntu. Only exits the ssh console. What OS are you using and which implementation and version of the ssh client? How do you start it?~/.ssh/config(look forEnableEscapeCommandlineinman 5 ssh_config)