This week at work I connected to CentOS 5.3 over ssh inside of tmux pane. I had troubles with executing clear
and htop
.
[x@x-qa ~]$ htop
Error opening terminal: screen-256color.
[x@x-qa ~]$ clear
'screen-256color': unknown terminal type.
Do not know why this happens (did not have problems with newer CentOS nodes). The following command to connect to that old CentOS node:
TERM=xterm ssh x@x-qa
fixes the above problem, but I still do not understand why. Would be great to get some explanation on what TERM
values mean