mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 01:34:08 -05:00
ssh settings
This commit is contained in:
parent
1a3a4bd43e
commit
b0d668d91c
1 changed files with 3 additions and 0 deletions
|
|
@ -27,6 +27,9 @@
|
|||
settings = {
|
||||
PermitRootLogin = "no";
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
};
|
||||
};
|
||||
|
||||
services.fail2ban.enable = lib.mkDefault true; # This comes with an SSH jail preconfigured, expanded fail2ban can be found in modules/services
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue