diff options
-rw-r--r-- | ssh.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -21,3 +21,13 @@ Change password for key: ssh -N host -L <client port>:<address:port from server's POV> `-N` is to not start an SSH session. + +## Configuring remote machine to handle local terminal + +Sometimes the remote doesn't know how to handle your local terminal. This can +lead to backspace, `clear`, and other things not working. + + infocmp $TERM > $TERM.terminfo + scp $TERM.terminfo remote:~/ + # on remote + tic -x $TERM.terminfo |