2013-09-19 06:09:33 +02:00
|
|
|
# send locales in default configuration
|
|
|
|
# bnc#65747
|
|
|
|
|
2014-04-14 23:53:01 +02:00
|
|
|
diff --git a/openssh-6.6p1/ssh_config b/openssh-6.6p1/ssh_config
|
|
|
|
--- a/openssh-6.6p1/ssh_config
|
|
|
|
+++ b/openssh-6.6p1/ssh_config
|
2014-01-31 13:18:41 +01:00
|
|
|
@@ -58,9 +58,14 @@ ForwardX11Trusted yes
|
2013-09-19 06:09:33 +02:00
|
|
|
# ProxyCommand ssh -q -W %h:%p gateway.example.com
|
|
|
|
|
|
|
|
# Set this to 'yes' to enable support for the deprecated 'gssapi' authentication
|
|
|
|
# mechanism to OpenSSH 3.8p1. The newer 'gssapi-with-mic' mechanism is included
|
|
|
|
# in this release. The use of 'gssapi' is deprecated due to the presence of
|
2007-01-07 17:26:05 +01:00
|
|
|
# potential man-in-the-middle attacks, which 'gssapi-with-mic' is not susceptible to.
|
|
|
|
# GSSAPIEnableMITMAttack no
|
|
|
|
|
|
|
|
+# This enables sending locale enviroment variables LC_* LANG, see ssh_config(5).
|
2011-01-31 13:24:57 +01:00
|
|
|
+SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
|
|
|
|
+SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
|
2007-01-07 17:26:05 +01:00
|
|
|
+SendEnv LC_IDENTIFICATION LC_ALL
|
2013-09-19 06:09:33 +02:00
|
|
|
+
|
2014-01-31 13:18:41 +01:00
|
|
|
# RekeyLimit 1G 1h
|
2014-04-14 23:53:01 +02:00
|
|
|
diff --git a/openssh-6.6p1/sshd_config b/openssh-6.6p1/sshd_config
|
|
|
|
--- a/openssh-6.6p1/sshd_config
|
|
|
|
+++ b/openssh-6.6p1/sshd_config
|
2014-02-14 15:54:10 +01:00
|
|
|
@@ -127,14 +127,19 @@ UsePrivilegeSeparation sandbox # Defaul
|
2013-09-19 06:09:33 +02:00
|
|
|
#VersionAddendum none
|
|
|
|
|
|
|
|
# no default banner path
|
|
|
|
#Banner none
|
|
|
|
|
2007-01-07 17:26:05 +01:00
|
|
|
# override default of no subsystems
|
|
|
|
Subsystem sftp /usr/libexec/sftp-server
|
|
|
|
|
|
|
|
+# This enables accepting locale enviroment variables LC_* LANG, see sshd_config(5).
|
2011-01-31 13:24:57 +01:00
|
|
|
+AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
|
|
|
|
+AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
|
2007-01-07 17:26:05 +01:00
|
|
|
+AcceptEnv LC_IDENTIFICATION LC_ALL
|
|
|
|
+
|
|
|
|
# Example of overriding settings on a per-user basis
|
|
|
|
#Match User anoncvs
|
|
|
|
# X11Forwarding no
|
2013-09-19 06:09:33 +02:00
|
|
|
# AllowTcpForwarding no
|
2014-02-14 15:54:10 +01:00
|
|
|
# PermitTTY no
|
2013-09-19 06:09:33 +02:00
|
|
|
# ForceCommand cvs server
|