ssh: disable RSA host key

This commit is contained in:
Aminda Suomalainen 2024-01-12 13:50:49 +02:00
parent d2cded4034
commit ddbd1acca0
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -1,8 +1,6 @@
# RSA and Ed25519 are fine, but DSA is broken and ecdsa is suspicious # Ed25519 is fine, but DSA is broken, time has passed RSA and ecdsa is sus…
# Missing keys? # Missing keys?
# ssh-keygen -t ed25519 -N "" -f /etc/ssh/ssh_host_ed25519_key # ssh-keygen -t ed25519 -N "" -f /etc/ssh/ssh_host_ed25519_key
# ssh-keygen -t rsa -N "" -f /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ed25519_key HostKey /etc/ssh/ssh_host_ed25519_key
# Includes public keys in logins # Includes public keys in logins