Re: AcceptEnv LANG LC_* vs available locales

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

 



On 2022/04/27 12:14, Harald Dunkel wrote:
> I couldn't agree more, but please see the xterm packages on Debian
> and RedHat, and my related question about how to *undo* the
> 
> 	SendEnv LANG LC_*
> 
> in Debian's /etc/ssh/ssh_config in my .ssh/config.

SendEnv is additive, it does not replace existing config when you list
a new variable, instead it adds to the existing variables.

So all you can do is add a variable, or remove a variable which was
_already_ set earlier in parsing, not prevent one from being set in later
parsing.

According to the manual, the config files are parsed in this order:

   1.   command-line options
   2.   user's configuration file (~/.ssh/config)
   3.   system-wide configuration file (/etc/ssh/ssh_config)

So, as far as I can tell, you will need to remove the existing entry
from /etc/ssh/ssh_config, there's no other way to override it.

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux