man ssh_config를 참조하십시오.
SendEnv
Specifies what variables from the local environ(7) should be sent
to the server. Note that environment passing is only supported
for protocol 2. The server must also support it, and the server
must be configured to accept these environment variables. Refer
to AcceptEnv in sshd_config(5) for how to configure the server.
Variables are specified by name, which may contain wildcard char‐
acters. Multiple environment variables may be separated by
whitespace or spread across multiple SendEnv directives. The
default is not to send any environment variables.
man sshd_config :
AcceptEnv
Specifies what environment variables sent by the client will be
copied into the session's environ(7). See SendEnv in
ssh_config(5) for how to configure the client. Note that envi-
ronment passing is only supported for protocol 2. Variables are
specified by name, which may contain the wildcard characters `*'
and `?'. Multiple environment variables may be separated by
whitespace or spread across multiple AcceptEnv directives. Be
warned that some environment variables could be used to bypass
restricted user environments. For this reason, care should be
taken in the use of this directive. The default is not to accept
any environment variables.
이에 따르면 기본값은 변수를 보내지 않아야하지만 TERM은 특별한 것으로 보입니다. 어쨌든 보내드립니다.
따라서 ssh를 호출 할 때 TERM을 변경하거나 (와 같이 TERM=xterm ssh ...
) 로그인 후이를 변경 .bash_profile
하거나 (와 같이 ) 서버 측에서 알 수없는 TERM 유형을 정의 할 수 있습니다 (루트 액세스 권한이 있다고 가정). 자세한 내용은 다른 답변을 참조하십시오.
infocmp
및tic
컴파일하면, 필요 일시적으로 변경할을$TERM
다시./usr/share/terminfo/s/screen-256color
그건 그렇고, 방금 Fedora 18에서 CentOS로 (rsync) 를 복사 했는데 정상적으로 작동하는 것 같습니다 (rsync -tv /usr/share/terminfo/s/screen-256color root@the_host:/usr/share/terminfo/s
).