Removed nonexistent option fron openssh config. Whitelist localhost in fail2ban.
This commit is contained in:
parent
31aa2297a4
commit
f6aed0e2a1
2 changed files with 1 additions and 1 deletions
|
@ -9,6 +9,7 @@ mkIf (elem "fail2ban" config.machine.services) {
|
|||
jails = {
|
||||
DEFAULT = ''
|
||||
bantime = 3600
|
||||
ignoreip = 127.0.0.1
|
||||
logpath = /var/log/auth.log
|
||||
'';
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue