allow root logins

This commit is contained in:
Grigory Shipunov 2023-09-24 00:57:55 +02:00
parent 85a481f8f6
commit 78ae9ad8ae

View file

@ -4,7 +4,7 @@
programs.mosh.enable = true; programs.mosh.enable = true;
services.openssh = { services.openssh = {
enable = true; enable = true;
settings.PermitRootLogin = "no"; settings.PermitRootLogin = "prohibit-password";
settings.PasswordAuthentication = false; settings.PasswordAuthentication = false;
}; };