feat: disable some services and disable root login from ssh altogether
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings.PasswordAuthentication = false;
|
||||
settings.PermitRootLogin = "prohibit-password";
|
||||
settings.PermitRootLogin = "no";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user