feat(openssh): disable password and root login

This commit is contained in:
jacekpoz 2023-08-04 00:00:39 +02:00
parent 7656f1d35e
commit aa89080adb

View file

@ -69,8 +69,8 @@
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = true;
PermitRootLogin = "yes";
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};