Delete/backspace doesn't work in terminal or some programs when SSH'd
Encountered during an OSSEC install - when pressing delete, ^H
is printed instead.
Fix:
- Press CTRL-v and then hit backspace. You’ll see what code is sent as “erase”.
^H
- Type
stty erase ^H
to change the key setup.
That’s it.
Source: Macworld.