Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] ssh: No value for $TERM and no -T specified



This is a strange one. When I feed ssh a command, I see:

:jmglov@example.com; ssh harp ls
No value for $TERM and no -T specified
No value for $TERM and no -T specified

So, I give it the -T flag (which disables pseudo-TTY allocation, 
according to ssh(1)). But still:

:jmglov@example.com; ssh -T harp ls
No value for $TERM and no -T specified
No value for $TERM and no -T specified

To add to the puzzle:

:jmglov@example.com; ssh harp
Last login: Tue May 21 15:24:27 2002 from alhana
:jmglov@example.com; echo $TERM
xterm

But:

:jmglov@example.com; ssh harp 'echo $TERM'
No value for $TERM and no -T specified
No value for $TERM and no -T specified
dumb

Anyone know why:

1) ssh is ignoring the -T flag?
2) The error message is being printed twice?
3) Why $TERM is set properly when I ssh in, but not when I give ssh a 
command to run?

TIA

--Josh


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links