feat(vps): disable password and root login

This commit is contained in:
lightly-toasted 2025-09-25 15:09:47 +09:00
parent 30ecb6ce99
commit cbe7b1204d

View file

@ -1,3 +1,9 @@
{ {
services.openssh.enable = true; services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};
} }