Merge pull request #139 from nbdd0121/patch-1
Copy ecdsa/sk keys from /root/.ssh/authorized_keys
This commit is contained in:
commit
81ab4e8f6f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue