From 5fe256cbe78e4c57582bdb4fd1e1827682ca7f36 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 16:08:30 +0200 Subject: Setting PubkeyAcceptedKeyTypes in sshd_config to ED25519 and RSA. Signed-off-by: Daniel Baumann --- debian/local/sshd_config.d/modern-ssh.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'debian/local') diff --git a/debian/local/sshd_config.d/modern-ssh.conf b/debian/local/sshd_config.d/modern-ssh.conf index 0510cc7..2dd33c4 100644 --- a/debian/local/sshd_config.d/modern-ssh.conf +++ b/debian/local/sshd_config.d/modern-ssh.conf @@ -6,3 +6,4 @@ HostbasedAcceptedKeyTypes sk-ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519@ope HostKeyAlgorithms sk-ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-ed25519,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256-cert-v01@openssh.com,rsa-sha2-256 KexAlgorithms sntrup761x25519-sha512@openssh.com,curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group14-sha256,diffie-hellman-group-exchange-sha256 MACs umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com +PubkeyAcceptedKeyTypes sk-ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-ed25519,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256-cert-v01@openssh.com,rsa-sha2-256 -- cgit v1.2.3