summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-10-21 15:31:31 +0200
committermh <mh@immerda.ch>2010-10-21 15:31:31 +0200
commit7e6d3af6f8b207133b3c71f9c714e19b68a4fc4e (patch)
treeaa6796e7a3e0d2bc84a5a94eb058c4dc2e61b216 /templates
parent3200c182e1e272d49b1b3347c544a94e655e1142 (diff)
lenny already has AcceptEnv by default
Diffstat (limited to 'templates')
-rw-r--r--templates/sshd_config/Debian_lenny.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/sshd_config/Debian_lenny.erb b/templates/sshd_config/Debian_lenny.erb
index e0b1917..4648a22 100644
--- a/templates/sshd_config/Debian_lenny.erb
+++ b/templates/sshd_config/Debian_lenny.erb
@@ -136,6 +136,9 @@ KeepAlive yes
#Banner /etc/issue.net
#ReverseMappingCheck yes
+# Allow client to pass locale environment variables
+AcceptEnv LANG LC_*
+
<%- if sshd_sftp_subsystem.to_s.empty? then %>
Subsystem sftp /usr/lib/openssh/sftp-server
<%- else %>