diff options
author | Pacien TRAN-GIRARD | 2016-11-08 22:52:45 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2016-11-08 22:52:45 +0100 |
commit | 3df406cbb316f889e6d7d0e073aec19be674163d (patch) | |
tree | 22c31e70bbdb849ef05061481ad43c6f60249157 /sshd_config | |
parent | 12e5175086d0b648b22d680646e2d1777c88a41e (diff) | |
download | ssh-hardened-debian.tar.gz |
Adapt conf for Debiandebian
Diffstat (limited to 'sshd_config')
-rw-r--r-- | sshd_config | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sshd_config b/sshd_config index 2b2b54e..3e87b5c 100644 --- a/sshd_config +++ b/sshd_config | |||
@@ -29,7 +29,7 @@ HostKey /etc/ssh/ssh_host_ed25519_key | |||
29 | # Minimum accepted size of the DH parameter p. By default this is set to 1024 | 29 | # Minimum accepted size of the DH parameter p. By default this is set to 1024 |
30 | # to maintain compatibility with RFC4419, but should be set higher. | 30 | # to maintain compatibility with RFC4419, but should be set higher. |
31 | # Upstream default is identical to setting this to 2048. | 31 | # Upstream default is identical to setting this to 2048. |
32 | KexDHMin 4096 | 32 | #KexDHMin 4096 |
33 | KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256 | 33 | KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256 |
34 | 34 | ||
35 | # Lifetime and size of ephemeral version 1 server key | 35 | # Lifetime and size of ephemeral version 1 server key |
@@ -138,7 +138,7 @@ UsePrivilegeSeparation sandbox # Default for new installations. | |||
138 | #Banner none | 138 | #Banner none |
139 | 139 | ||
140 | # override default of no subsystems | 140 | # override default of no subsystems |
141 | Subsystem sftp /usr/lib/ssh/sftp-server | 141 | Subsystem sftp /usr/lib/openssh/sftp-server |
142 | 142 | ||
143 | # This enables accepting locale enviroment variables LC_* LANG, see sshd_config(5). | 143 | # This enables accepting locale enviroment variables LC_* LANG, see sshd_config(5). |
144 | AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES | 144 | AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES |