AcceptEnv LANG LC_* vs available locales
Jochen Bern
Jochen.Bern at binect.de
Thu Apr 28 16:53:32 AEST 2022
On 27.04.22 21:48, Thorsten Glaser wrote:
> On Wed, 27 Apr 2022, Harald Dunkel wrote:
>> Maybe you should consider to add some guidelines about how to handle
>> locales into a README within the openssh source package, or in
>> ssh_config(5), sshd_config(5), etc.?
>
> Pretty easy: handle them on the server, period. There’s no way to
> do it otherwise.
Sure, because "have server setting blindly trump clients'" is *so* much
better than "have client setting forwarded blindly to the server".
And here I thought that, after OpenVPN painstakingly retrofitting one
into their data channel setup, "when you need an agreement, you need an
explicit negotiation phase" would be a commonly accepted tenet now ...
(As in, *let* the client send his settings, then have the shell's
startup phase run a helper application that edits the env vars as
necessary to achieve compatibility with the server's capabilities.)
Regards,
--
Jochen Bern
Systemingenieur
Binect GmbH
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3449 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20220428/bd64e3a0/attachment-0001.p7s>
More information about the openssh-unix-dev
mailing list