diff --git a/puppet/zulip_ops/files/sshd_config b/puppet/zulip_ops/files/sshd_config index 9e13f45180..e0331ee55a 100644 --- a/puppet/zulip_ops/files/sshd_config +++ b/puppet/zulip_ops/files/sshd_config @@ -10,12 +10,14 @@ Protocol 2 # HostKeys for protocol version 2 HostKey /etc/ssh/ssh_host_rsa_key HostKey /etc/ssh/ssh_host_dsa_key +HostKey /etc/ssh/ssh_host_ecdsa_key +HostKey /etc/ssh/ssh_host_ed25519_key #Privilege Separation is turned on for security UsePrivilegeSeparation yes # Lifetime and size of ephemeral version 1 server key KeyRegenerationInterval 3600 -ServerKeyBits 768 +ServerKeyBits 1024 # Logging SyslogFacility AUTH @@ -23,7 +25,7 @@ LogLevel INFO # Authentication: LoginGraceTime 120 -PermitRootLogin without-password +PermitRootLogin prohibit-password StrictModes yes RSAAuthentication yes