mirror of https://github.com/zulip/zulip.git
sshd_config: Add updates from Xenial upstream.
It seems worth updating this to match the Linux distro this configuration targets.
This commit is contained in:
parent
0a5a2c4eda
commit
73f54dd0cb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue