summaryrefslogtreecommitdiff
path: root/common/ssh.nix
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-11-22 03:29:56 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-11-22 03:29:56 -0500
commit90854019fc940473a0ce4fff29c402e54841f704 (patch)
treeb7eb2a97dbdbfe151ff77a23c1b54a2399dbe311 /common/ssh.nix
parent3727e7bd79fe75ff18b1dc6af494dbda940e0971 (diff)
Another day
Diffstat (limited to 'common/ssh.nix')
-rw-r--r--common/ssh.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/ssh.nix b/common/ssh.nix
index de931f5..d633fbb 100644
--- a/common/ssh.nix
+++ b/common/ssh.nix
@@ -9,6 +9,7 @@
AllowUsers = null; # Allows all users by default. Can be [ "user1" "user2" ]
UseDns = true;
X11Forwarding = false;
+ GatewayPorts = "yes";
PermitRootLogin = "no"; # "yes", "without-password", "prohibit-password", "forced-commands-only", "no"
};
};