Set AcceptEnv LANG LC_* in sshd_config, as Debian does.

Without this change, mosh does not work.

Signed-off-by: Clemens Gruber <clemens.gru...@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

Reply via email to