{ services.openssh = { enable = true; settings = { ClientAliveInterval = 300; KbdInteractiveAuthentication = false; PasswordAuthentication = false; PermitRootLogin = "no"; }; }; }