sshd_config: don't talk so much about locales

This commit is contained in:
Aminda Suomalainen 2015-09-06 18:40:02 +03:00
parent 801e3e0941
commit 96ca38818f

View File

@ -6,13 +6,7 @@
# where some comments are took. Some options look like I don't want to
# change them to get updates when defaults change.
# Accept locale environment variables which the client sends.
# This might be risky e.g. ShellShock, but as this is suggested at
# Debian Wiki https://wiki.debian.org/Locale#SSH and Kapsi
# https://www.kapsi.fi/english has it, I accept locales manually.
# LC_ALL is missing intentionally as it's only for debugging/testing
# purpouses and if you really need it on the target system, set it there,
# it doesn't have to come from the client.
# Allow the client to send preferred locales.
AcceptEnv LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION
# IPv4 & IPv6