feat: only serve the ed25519 ssh key

This commit is contained in:
Jet Pham 2026-03-05 10:03:23 -08:00
parent 04fc08e3a0
commit e7e8d154aa
No known key found for this signature in database

View file

@ -44,6 +44,10 @@
enable = true; enable = true;
settings.PasswordAuthentication = false; settings.PasswordAuthentication = false;
settings.PermitRootLogin = "prohibit-password"; settings.PermitRootLogin = "prohibit-password";
hostKeys = [{
path = "/etc/ssh/ssh_host_ed25519_key";
type = "ed25519";
}];
}; };
# Fail2ban # Fail2ban