urxvt backspace and other control keys not working on remote host in ssh
- 13 May 2017: Post was created (diff)
As I was connecting via SSH to a remote host running Arch ARM the terminal was apparently interpreting all control keys as whitespace characters. As usual, the Arch Linux wiki knew exactly what was going on.
First check your current terminal
$ echo $TERM
rxvt-unicode-256-colors
Then copy the correct terminfo file to the remote host
$ ssh remotehost mkdir -p .terminfo/r/
$ scp /usr/share/terminfo/r/rxvt-unicode-256color remotehost:.terminfo/r/
Then connect again to the host and enjoy a (hopefully) working terminal again.
If you have any comments or feedback, please send me an e-mail. (stig at stigok dotcom).
Did you find any typos, incorrect information, or have something to add? Then please propose a change to this post.