Remote disk unlocking: Difference between revisions
imported>Riotbib mNo edit summary |
imported>Reivilibre m Fix example: authorizedKeys is a list of strings |
||
Line 30: | Line 30: | ||
enable = true; | enable = true; | ||
port = 22; | port = 22; | ||
authorizedKeys = "ssh-rsa AAAAyourpublic-key-here...."; | authorizedKeys = [ "ssh-rsa AAAAyourpublic-key-here...." ]; | ||
hostKeys = [ "/etc/secrets/initrd/ssh_host_rsa_key" "/etc/secrets/initrd/ssh_host_ed25519_key" ]; | hostKeys = [ "/etc/secrets/initrd/ssh_host_rsa_key" "/etc/secrets/initrd/ssh_host_ed25519_key" ]; | ||
}; | }; |