Enable root login with keys only

This commit is contained in:
Victor Mignot 2024-07-29 23:37:07 +02:00
parent 1f4d225f55
commit 6a435527fc
Signed by: dala
GPG key ID: 5E7F2CE1BEAFED3D

View file

@ -12,7 +12,6 @@ with lib;
enable = true; enable = true;
settings = { settings = {
StrictModes = true; StrictModes = true;
PermitRootLogin = "no";
PasswordAuthentication = false; PasswordAuthentication = false;
KbdInteractiveAuthentication = false; KbdInteractiveAuthentication = false;
PermitEmptyPasswords = "no"; PermitEmptyPasswords = "no";