Created
July 19, 2014 07:24
-
-
Save oklahomer/4ef23cd19635910d29d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@raspberrypi ~ $ diff -u /etc/ssh/sshd_config.2014-07-19 /etc/ssh/sshd_config | |
--- /etc/ssh/sshd_config.2014-07-19 2014-07-19 07:22:27.407144977 +0000 | |
+++ /etc/ssh/sshd_config 2014-07-19 07:22:46.766325295 +0000 | |
@@ -71,7 +71,7 @@ | |
#Banner /etc/issue.net | |
# Allow client to pass locale environment variables | |
-AcceptEnv LANG LC_* | |
+#AcceptEnv LANG LC_* | |
Subsystem sftp /usr/lib/openssh/sftp-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My OSX tries to send LC_* locale setting on ssh login and Pi's /etc/ssh/sshd_config allows client to send LC_* settings. The problem is that my OSX sends ja_JP.UTF-8, but
locale -a
tells me that my Pi doesn't support it so I commented out the following line from /etc/ssh/sshd_config.Then restart sshd and it's done. Try login with ssh and the warning doesn't show up anymore.