m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ssh.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/ssh.md b/ssh.md
index fd62496..5ea1c7c 100644
--- a/ssh.md
+++ b/ssh.md
@@ -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