This commit is contained in:
Ellie 2026-02-24 21:52:15 -08:00
parent ad0c74b801
commit ae93cac1d6
3 changed files with 5 additions and 19 deletions

View file

@ -24,14 +24,8 @@
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
PermitRootLogin = "no";
AllowUsers = [ "ellie" "forgejo" "borg" ];
AllowUsers = [ "ellie" "borg" ];
};
extraConfig = ''
Match User forgejo Address 10.10.0.1
AllowTcpForwarding no
X11Forwarding no
PermitTunnel no
'';
};
services.fail2ban = {