some security updates

This commit is contained in:
Glen Goodwin 2023-09-21 13:50:00 -04:00
parent cd74c7b0d4
commit 1722c0cf66
9 changed files with 144 additions and 11 deletions

View file

@ -0,0 +1,11 @@
{ ... }:
{
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
challengeResponseAuthentication = false;
PermitRootLogin = "no";
};
};
}