scp error, TERM env. variable not set?
I get a error when using scp. After I enter the password for the remote system, it returns the message:
TERM environment variable not set. I am not sure what to do. I get the same message from three different local machines running different distributions. I do ssh no problem. |
type env & check if
your terminal type variable is set. should be something like TERM=xterm-color or vt100 or depending on what you are using. most linux consoles use the one above. if env doesnt show it then you can set it by adding the above line to .bash_profile if you use the bash shell or similar for other shells that you use! |
Yeah, I did that and I echo'ed $TERM. I was a little surprised to see that this shows the TERM value for the local machine, even though I am logged on to a remote system using ssh. For example my Ubuntu and Red Hat systems both show $TERM = xterm. This is the same whether I am logged on locally or remotely. My iBook shows xterm-color. Again, this value is the same whether logged on locally or to the remote through ssh. I will be at the remote system on Monday, I'll try reading the value for TERM then.
|
All times are GMT -5. The time now is 10:02 PM. |