boot.initrd.network.ssh.enable

Start SSH service during initrd boot. It can be used to debug failing boot on a remote server, enter pasphrase for an encrypted partition etc. Service is killed when stage-1 boot is finished.

The sshd configuration is largely inherited from services.openssh.

Type
boolean
Default
false
Declared
<nixpkgs/nixos/modules/system/boot/initrd-ssh.nix>