diff options
| author | Leonardo <noreply@leoflo.me> | 2026-03-23 18:00:48 +0100 |
|---|---|---|
| committer | Leonardo <noreply@leoflo.me> | 2026-03-23 18:07:53 +0100 |
| commit | 44024e8e52b490e9f61f5c87a50da0dac9cf1a4f (patch) | |
| tree | e64255737de59108242f5f50f2677a58759f7882 /components/services/openssh.nix | |
| parent | 626351fa5a7a0cd366021edaa84e1cd794af1017 (diff) | |
| download | nixos-44024e8e52b490e9f61f5c87a50da0dac9cf1a4f.tar.gz nixos-44024e8e52b490e9f61f5c87a50da0dac9cf1a4f.zip | |
git user
Diffstat (limited to 'components/services/openssh.nix')
| -rw-r--r-- | components/services/openssh.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/components/services/openssh.nix b/components/services/openssh.nix index 66a6499..eb52bf1 100644 --- a/components/services/openssh.nix +++ b/components/services/openssh.nix @@ -10,6 +10,15 @@ PasswordAuthentication = false; PrintMotd = false; }; + + extraConfig = '' + Match user git + AllowTcpForwarding no + AllowAgentForwarding no + PasswordAuthentication no + PermitTTY no + X11Forwarding no + ''; }; }; } |
