Skip to main content
started `tmux` before `ssh`
Source Link
LiuYan 刘研
  • 4.2k
  • 6
  • 33
  • 34

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:

  • ls result has no color
  • tmux, screen, hexedit, htop all 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?

I'm currently using Fedora 18 gnome-terminal. After I connected to a CentOS 5 server via ssh command, I find:

  • ls result has no color
  • tmux, screen, hexedit, htop all 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?

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:

  • ls result has no color
  • tmux, screen, hexedit, htop all 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?

can't -> can
Source Link
LiuYan 刘研
  • 4.2k
  • 6
  • 33
  • 34

I'm currently using Fedora 18 gnome-terminal. After I connected to a CentOS 5 server via ssh command, I find:

  • ls result has no color
  • tmux, screen, hexedit, htop all 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'tcan manually change the $TERM variable on the server, each time I connect, it happens again. So how to prevent it?

I'm currently using Fedora 18 gnome-terminal. After I connected to a CentOS 5 server via ssh command, I find:

  • ls result has no color
  • tmux, screen, hexedit, htop all 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't manually change the $TERM variable on the server, each time I connect, it happens again. So how to prevent it?

I'm currently using Fedora 18 gnome-terminal. After I connected to a CentOS 5 server via ssh command, I find:

  • ls result has no color
  • tmux, screen, hexedit, htop all 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?

Formatting, mostly
Source Link
jasonwryan
  • 74.8k
  • 35
  • 204
  • 230

How to prevent ssh Prevent SSH client passpassing TERM environment variable to server?

I'm currently using Fedora 18 gnome-terminal. After I connected to a CentOS 5 server via sshssh command, I foundfind:

  • ls result has no color
  • tmux, screen, hexedit, htop all failed to start with error message like "open terminal failed: missing or unsuitable terminal: screen-256color":
    open terminal failed: missing or unsuitable terminal: screen-256color

It seems that ssh passed TERMssh 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't manually change TERMthe $TERM variable on the server, but each time I connectedconnect, it happendshappens again. So how to prevent it?

How to prevent ssh client pass TERM environment variable to server?

I'm currently using Fedora 18 gnome-terminal. After I connected to a CentOS 5 server via ssh command, I found:

  • ls result has no color
  • tmux, screen, hexedit, htop all failed to start with error message like "open terminal failed: missing or unsuitable terminal: screen-256color"

It seems that ssh passed TERM environment variable to server, but I can't find it in /etc/ssh/ssh_config file of Fedora 18.

Although I can't manually change TERM variable on server, but each time I connected, it happends again. So how to prevent it?

Prevent SSH client passing TERM environment variable to server?

I'm currently using Fedora 18 gnome-terminal. After I connected to a CentOS 5 server via ssh command, I find:

  • ls result has no color
  • tmux, screen, hexedit, htop all 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't manually change the $TERM variable on the server, each time I connect, it happens again. So how to prevent it?

added 2 characters in body
Source Link
LiuYan 刘研
  • 4.2k
  • 6
  • 33
  • 34
Loading
Source Link
LiuYan 刘研
  • 4.2k
  • 6
  • 33
  • 34
Loading