Harden ssh

This commit is contained in:
2026-07-08 20:26:41 +01:00
parent 999de8e02b
commit 015131bade
+7 -1
View File
@@ -12,7 +12,13 @@
networking.hostName = "syedm";
services.openssh.enable = true;
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};
services.caddy = {
enable = true;