AcceptEnv LANG LC_* vs available locales
Stuart Henderson
stu at spacehopper.org
Mon Apr 25 18:25:19 AEST 2022
On 2022/04/25 10:05, Harald Dunkel wrote:
> Hi folks,
>
> forwarding LANG and LC_* variables to the peer seems to be only
> reasonable, if the peer supports theses locales. Is there some
> workaround for this pitfall? Do you think the server could quietly
> ignore unknown locales?
I think it would be too much magic if the SSH server considered the
contents of these variables. Apart from anything else, it doesn't know
whether particular software that you might be running in SSH might need
some setting that sshd doesn't know about.
If you're using non-default config to pass these variables and have
some places where it's a problem to see an unknown locale, you could
always make your own changes to the variables in .profile on those
systems. (I am guessing that in the majority of these cases the only
actual problem is the noise from Debian's Perl configuration...)
More information about the openssh-unix-dev
mailing list