I'm currently using Fedora 18 gnome-terminal, then started tmux multiplexer in it. After I connected to a CentOS 5 server via ssh command, I find:
lsresult has no colortmux,screen,hexedit,htopall failed to start with error message like:open terminal failed: missing or unsuitable terminal: screen-256color
It seems that ssh passes the $TERM environment variable to the server, but I can't find it in /etc/ssh/ssh_config file of Fedora 18.
Although I can manually change the $TERM variable on the server, each time I connect, it happens again. So how to prevent it?