initrd-ssh: fix authorized_key generation with multiple keys
multiple entries should be separated by newline
This commit is contained in:
parent
8ef3eaeb4e
commit
7ad01f5f0c
@ -122,7 +122,7 @@ in
|
||||
|
||||
mkdir -p /root/.ssh
|
||||
${concatStrings (map (key: ''
|
||||
echo -n ${escapeShellArg key} >> /root/.ssh/authorized_keys
|
||||
echo ${escapeShellArg key} >> /root/.ssh/authorized_keys
|
||||
'') cfg.authorizedKeys)}
|
||||
|
||||
dropbear -s -j -k -E -m -p ${toString cfg.port}
|
||||
|
Loading…
Reference in New Issue
Block a user