ftuwdq
Last Updated: February 25, 2016
·
5.866K
· kid-icarus
9f00d62b090e36871d77c634ae5e0c59

Using tmux locally and SSHing into a remote: Avoiding the 'screen-256color': unknown terminal type.

simply set an alias in your .zshrc/.bashrc:

alias ssh='TERM=xterm ssh'

Say Thanks
Respond

2 Responses
Add your response

7151
411753945ad0cc4f6a3c816053ec2baa

Thanks! :D This helped me.

over 1 year ago ·
23724

Also you can set your default value in you're ~/.tmux.conf For example mine is:

set -g default-terminal "xterm"

over 1 year ago ·
Filed Under