scp gives the warning "TERM environment variable not set"
Issue
When copying a file with scp to a remote server, the warning
TERM environment variable not set
is displayed. This is not shown when logging in with the ssh command. The TERM environment variable is set on both the local system and remote server.
Environment
- Red Hat Enterprise Linux 5.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.