forked from poz/niksos
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 = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PasswordAuthentication = true;
|
||||
PermitRootLogin = "yes";
|
||||
PasswordAuthentication = false;
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue