Modify $TERM from config

Christophe Garault christophe at
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.


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: <>

More information about the openssh-unix-dev mailing list