{ services.openssh = { enable = true; allowSFTP = true; settings = { PasswordAuthentication = false; KbdInteractiveAuthentication = false; }; }; networking.firewall = { allowedTCPPorts = [ 22 ]; }; }