changed ssh authentication settings

This commit is contained in:
ISnortPennies 2023-01-22 02:50:24 -05:00
parent e6b6f2e501
commit 5e19c6b52f

View file

@ -48,7 +48,11 @@
};
services.openssh = {
enable = true;
settings.PermitRootLogin = "yes";
settings = {
PermitRootLogin = "yes";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};