* [ptxdist] [PATCH] openssh: allow client to pass locale env variables
@ 2018-02-22 17:41 Clemens Gruber
0 siblings, 0 replies; only message in thread
From: Clemens Gruber @ 2018-02-22 17:41 UTC (permalink / raw)
To: ptxdist; +Cc: Clemens Gruber
Set AcceptEnv LANG LC_* in sshd_config, as Debian does.
Without this change, mosh does not work.
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
Michael:
AcceptEnv LC_CTYPE is sufficient for mosh to work. Let me know if you
prefer allowing only this specific variable by default and I resend (or
you can fix it up if you want)
projectroot/etc/ssh/sshd_config | 3 +++
1 file changed, 3 insertions(+)
diff --git a/projectroot/etc/ssh/sshd_config b/projectroot/etc/ssh/sshd_config
index 7da4b2f26..14ae11901 100644
--- a/projectroot/etc/ssh/sshd_config
+++ b/projectroot/etc/ssh/sshd_config
@@ -107,6 +107,9 @@ AuthorizedKeysFile .ssh/authorized_keys
# no default banner path
#Banner none
+# Allow client to pass locale environment variables
+AcceptEnv LANG LC_*
+
# override default of no subsystems
Subsystem sftp /usr/sbin/sftp-server
--
2.16.2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-02-22 17:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-22 17:41 [ptxdist] [PATCH] openssh: allow client to pass locale env variables Clemens Gruber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox