Last Updated: February 25, 2016
· kid-icarus

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'

2 Responses
Add your response

Thanks! :D This helped me.

over 1 year ago ·

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 ·