openssh CVE mitigation
This commit is contained in:
parent
8b59d38544
commit
9f98e49084
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
|||
# Enable the OpenSSH daemon
|
||||
services.openssh.enable = true;
|
||||
services.openssh.settings.PermitRootLogin = lib.mkDefault "no";
|
||||
services.openssh.settings.LoginGraceTime = 0;
|
||||
|
||||
services.fail2ban = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue