Summary Files Commits Branches @commit @diff @stats
path: root / modules / server
diff options
context:
space:
mode:
1 files changed, 2 insertions, 2 deletions
-rw-r--r--modules/server/default.nix4
diff --git a/modules/server/default.nix b/modules/server/default.nix
index 058276c..c03a2da 100644
--- a/modules/server/default.nix
+++ b/modules/server/default.nix
@@ -55,10 +55,10 @@
ports = [ 2200 ];
settings = {
PasswordAuthentication = true;
- AllowUsers = [ "admin" ];
+ AllowUsers = [ "root" "admin" ];
UseDns = true;
X11Forwarding = true;
- PermitRootLogin = "no";
+ PermitRootLogin = "prohibit-password";
};
};
}