Modify $TERM from config

Christophe Garault christophe at garault.org
Wed Jun 27 06:57:46 EST 2012


On 26/06/2012 20:40, Chris Adams wrote :
> I don't see a way to override $TERM for a particular host in
> ~/.ssh/config.
I'm not sure if this could help you, but you could allow the 
PermitUserEnvironment in the sshd conf of that host and then change the 
authorized_keys accordingly:
environment="TERM=xterm-256color" before the key itself.

Hth.

--
Christophe Garault

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5376 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20120626/6e074289/attachment.bin>


More information about the openssh-unix-dev mailing list