feat: disable some services and disable root login from ssh altogether

This commit is contained in:
2026-02-19 13:41:40 +05:30
parent dca434c0ba
commit 9acb378e5f
3 changed files with 22 additions and 21 deletions

View File

@@ -2,6 +2,6 @@
services.openssh = {
enable = true;
settings.PasswordAuthentication = false;
settings.PermitRootLogin = "prohibit-password";
settings.PermitRootLogin = "no";
};
}