From 7d89d7c99fea22238d8f0a0dbf63d46b6df71c41 Mon Sep 17 00:00:00 2001 From: Gary Guo Date: Wed, 8 Nov 2023 16:13:10 +0000 Subject: [PATCH] Copy ecdsa/sk keys from /root/.ssh/authorized_keys --- nix/kexec-installer/kexec-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/kexec-installer/kexec-run.sh b/nix/kexec-installer/kexec-run.sh index d593999..4e5ade6 100644 --- a/nix/kexec-installer/kexec-run.sh +++ b/nix/kexec-installer/kexec-run.sh @@ -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 }