Skip to content

Commit

Permalink
Merge pull request #139 from nbdd0121/patch-1
Browse files Browse the repository at this point in the history
Copy ecdsa/sk keys from /root/.ssh/authorized_keys
  • Loading branch information
Mic92 authored Nov 8, 2023
2 parents fca6d15 + 7d89d7c commit 81ab4e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/kexec-installer/kexec-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ extractPubKeys() {
key="$home/$file"
if test -e "$key"; then
# workaround for debian shenanigans
grep -o '\(ssh-[^ ]* .*\)' "$key" >> ssh/authorized_keys || true
grep -o '\(\(ssh\|ecdsa\|sk\)-[^ ]* .*\)' "$key" >> ssh/authorized_keys || true
fi
done
}
Expand Down

0 comments on commit 81ab4e8

Please sign in to comment.