updated PermitRootLogin

This commit is contained in:
2024-09-15 13:49:47 -04:00
parent f9f006bf70
commit 99ed4dd237

View File

@@ -33,7 +33,7 @@
MaxSessions = lib.mkDefault 2; MaxSessions = lib.mkDefault 2;
PasswordAuthentication = false; PasswordAuthentication = false;
PermitEmptyPasswords = "no"; PermitEmptyPasswords = "no";
PermitRootLogin = lib.mkDefault "no"; PermitRootLogin = lib.mkForce "no";
TcpKeepAlive = "no"; TcpKeepAlive = "no";
X11Forwarding = lib.mkDefault false; X11Forwarding = lib.mkDefault false;
KexAlgorithms = [ KexAlgorithms = [