mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 07:25:40 +00:00
feat(vps): disable password and root login
This commit is contained in:
parent
30ecb6ce99
commit
cbe7b1204d
1 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
{
|
{
|
||||||
services.openssh.enable = true;
|
services.openssh = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
PasswordAuthentication = false;
|
||||||
|
PermitRootLogin = "no";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue