Merge pull request #649 from WordOps/updating-configuration

set HostKey algorithms by order of preference.
This commit is contained in:
VirtuBox
2024-05-22 20:51:19 +02:00
committed by GitHub

View File

@@ -1,10 +1,10 @@
# Use a custom port in the following range : 1024-65536
Port {{sshport}}
#Prefer ed25519 & ECDSA keys rather than 2048 bit RSA
# Supported HostKey algorithms by order of preference.
HostKey /etc/ssh/ssh_host_ed25519_key
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
# Allow root access with ssh keys
PermitRootLogin without-password