fix ssh keys and disallow root login

This commit is contained in:
William 2025-06-02 13:01:07 -03:00
parent 907d8bc9d2
commit afc7385c95
2 changed files with 6 additions and 7 deletions

View file

@ -18,7 +18,10 @@
enable = true;
extraUpFlags = [ "--operator=user" ];
};
openssh.enable = true;
openssh = {
enable = true;
settings.PermitRootLogin = "no";
};
};
}