services.openssh.settings.PermitRootLogin

NixOS option

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 in: nixos/modules/services/networking/ssh/sshd.nixView source on NixOS/nixpkgs →