Phasing out forwarding of locale settings
Florian Weimer
fweimer at redhat.com
Fri Sep 3 19:55:54 AEST 2021
Most distributions send locale environment variables by default:
SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
SendEnv LC_IDENTIFICATION LC_ALL LANGUAGE
SendEnv XMODIFIERS
And accept them on the server side:
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
AcceptEnv XMODIFIERS
(Some distributions also use LC_* wildcards.)
Now that servers often use minimal installations which only support a
small set of locales (C, C.UTF-8), would it make sense to discontinue
this practice?
Thanks,
Florian
More information about the openssh-unix-dev
mailing list