AcceptEnv LANG LC_* vs available locales

Harald Dunkel harald.dunkel at aixigo.com
Wed Apr 27 21:08:36 AEST 2022


Hi Stuart,

On 2022-04-27 12:47:14, Stuart Henderson wrote:
> 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.
> 

The man page points to the "PATTERNS" section in this context, so
how about

	SendEnv !LANG !LC_*

or something similar?


Regards

Harri


More information about the openssh-unix-dev mailing list