Harden host key
This commit is contained in:
parent
2fe6cf7c93
commit
c92f924faa
1 changed files with 1 additions and 6 deletions
|
@ -11,12 +11,7 @@ ListenAddress 0.0.0.0
|
|||
# Force SSHv2 Protocol
|
||||
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
|
||||
|
||||
HostKeyAlgorithms ssh-rsa,rsa-sha2-512,rsa-sha2-256
|
||||
HostKey /etc/ssh/ssh_host_ed25519_key
|
||||
|
||||
# Privilege Separation is turned on for security
|
||||
UsePrivilegeSeparation yes
|
||||
|
|
Loading…
Reference in a new issue