2024-10-09 03:36:08 -04:00
|
|
|
{ ... }:
|
|
|
|
{
|
2024-11-04 22:41:38 -05:00
|
|
|
imports = [ ./fail2ban ];
|
2024-10-07 11:42:34 -04:00
|
|
|
|
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
PermitRootLogin = "no";
|
|
|
|
PrintLastLog = "no";
|
|
|
|
PasswordAuthentication = false;
|
|
|
|
UsePAM = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|