feat(openssh): disable password and root login
This commit is contained in:
parent
7656f1d35e
commit
aa89080adb
1 changed files with 2 additions and 2 deletions
|
@ -69,8 +69,8 @@
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
PasswordAuthentication = true;
|
PasswordAuthentication = false;
|
||||||
PermitRootLogin = "yes";
|
PermitRootLogin = "no";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue