1
0
Fork 0

Removed nonexistent option fron openssh config. Whitelist localhost in fail2ban.

This commit is contained in:
Kevin Baensch 2019-03-25 01:41:26 +01:00
parent 31aa2297a4
commit f6aed0e2a1
2 changed files with 1 additions and 1 deletions

View File

@ -9,6 +9,7 @@ mkIf (elem "fail2ban" config.machine.services) {
jails = {
DEFAULT = ''
bantime = 3600
ignoreip = 127.0.0.1
logpath = /var/log/auth.log
'';

View File

@ -17,7 +17,6 @@ mkIf (elem "openssh" config.machine.services) {
permitRootLogin = "no";
extraConfig = ''
UsePAM no
UseRoaming no
AllowUsers derped git nix-ssh
UsePrivilegeSeparation sandbox
LogLevel VERBOSE