fix: disable root login using password
This commit is contained in:
@@ -100,7 +100,7 @@ in
|
|||||||
enable = config.selfprivacy.ssh.enable;
|
enable = config.selfprivacy.ssh.enable;
|
||||||
settings = {
|
settings = {
|
||||||
PasswordAuthentication = false;
|
PasswordAuthentication = false;
|
||||||
PermitRootLogin = "yes";
|
PermitRootLogin = "prohibit-password";
|
||||||
};
|
};
|
||||||
openFirewall = false;
|
openFirewall = false;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user