Harden host key

This commit is contained in:
Jake Howard 2020-05-23 11:45:53 +01:00
parent 2fe6cf7c93
commit c92f924faa
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -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