ssh: add fail2ban
This commit is contained in:
@@ -33,4 +33,5 @@
|
|||||||
users.users.root.openssh.authorizedKeys.keys =
|
users.users.root.openssh.authorizedKeys.keys =
|
||||||
config.users.users.${username}.openssh.authorizedKeys.keys;
|
config.users.users.${username}.openssh.authorizedKeys.keys;
|
||||||
|
|
||||||
|
services.fail2ban.enable = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user