services.openssh.settings.PermitRootLogin
Whether the root user can login using ssh.
- Type
null or one of "yes", "without-password", "prohibit-password", "forced-commands-only", "no"- Default
"prohibit-password"- Declared
- <nixpkgs/nixos/modules/services/networking/ssh/sshd.nix>