diff options
Diffstat (limited to 'components')
| -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 + ''; }; }; } |
