fix: harden sshd

This commit is contained in:
Ahwx 2024-10-13 20:02:48 +02:00
parent fedeb86522
commit 7f5ef58981

View file

@ -4,9 +4,9 @@
enable = true;
ports = [22];
settings = {
PasswordAuthentication = true;
PasswordAuthentication = false;
AllowUsers = null;
PermitRootLogin = "yes";
PermitRootLogin = "no";
LoginGraceTime = 0;
};
};