wolumonde: enable fail2ban
This commit is contained in:
parent
4074fe0908
commit
91ad7a75f7
@ -10,6 +10,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
passwordAuthentication = false;
|
passwordAuthentication = false;
|
||||||
};
|
};
|
||||||
|
services.fail2ban.enable = true;
|
||||||
|
|
||||||
users.users.root.openssh.authorizedKeys.keys = [
|
users.users.root.openssh.authorizedKeys.keys = [
|
||||||
(builtins.readFile "${inputs.self}/secrets/ssh-key.pub")
|
(builtins.readFile "${inputs.self}/secrets/ssh-key.pub")
|
||||||
|
Loading…
Reference in New Issue
Block a user