From 59612bd4cf0a8fd1e68569fdc89fd957b67da44f Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Sat, 17 Jan 2026 16:06:34 +0100 Subject: ssh: harden --- config/services/git/default.nix | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'config/services') diff --git a/config/services/git/default.nix b/config/services/git/default.nix index 5c6d629..65663c1 100644 --- a/config/services/git/default.nix +++ b/config/services/git/default.nix @@ -16,15 +16,4 @@ }; users.groups.git = { }; - - services.openssh = { - extraConfig = '' - Match user git - AllowTcpForwarding no - AllowAgentForwarding no - PasswordAuthentication no - PermitTTY no - X11Forwarding no - ''; - }; } -- cgit v1.2.3