docs(rpi4): add sample command for authenticating initrd via ssh

This commit is contained in:
Felix Schröter 2021-06-10 12:01:40 +02:00
parent 7a3ae63f43
commit e41227f266
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58

View file

@ -79,6 +79,7 @@ with builtins; {
permitRootLogin = "no"; permitRootLogin = "no";
}; };
# ssh root@hostname "echo "$(read -s pass; echo \'"$pass"\')" > /crypt-ramfs/passphrase"
boot.initrd.network.ssh = { boot.initrd.network.ssh = {
enable = true; enable = true;
authorizedKeys = [ (readFile "./key") ]; authorizedKeys = [ (readFile "./key") ];