{ services.openssh = { enable = true; extraConfig = '' PermitRootLogin no PasswordAuthentication no KbdInteractiveAuthentication no PubkeyAuthentication yes ''; }; }