[PATCH v2] Add a ssh_config Term option to override TERM
Damien Miller
djm at mindrot.org
Mon Aug 17 10:36:25 AEST 2015
On Fri, 14 Aug 2015, Omar Sandoval wrote:
> This is useful when a server is missing the necessary terminfo and
> avoids having to manually set TERM before invoking ssh every time.
I don't think adding a special-case for TERM is worth it, but maybe
a more generic "SetEnv" that works in conjunction with SendEnv?
E.g.
Host foo
SetEnv TERM xterm
SetEnv LANG C
TERM would be sent implicitly as part of session setup, but the rest would
be equivalent to pre-loading the environment and doing SendEnv.
-d
More information about the openssh-unix-dev
mailing list