summaryrefslogtreecommitdiff
path: root/modules/services/openssh.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services/openssh.nix')
-rw-r--r--modules/services/openssh.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/services/openssh.nix b/modules/services/openssh.nix
index b970945..b16ca8a 100644
--- a/modules/services/openssh.nix
+++ b/modules/services/openssh.nix
@@ -5,8 +5,8 @@
openFirewall = true;
settings = {
- UseDns = false;
- X11Forwarding = false;
+ PermitRootLogin = "no";
+ MaxAuthTries = 3;
KexAlgorithms = [
"curve25519-sha256"