This commit is contained in:
ahmadbilalkhalid 2019-10-24 11:45:11 +05:00
parent 4e2da675fb
commit 920956b70a
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ setup_ssh() {
echo "$metadata" | jq -r '.["ssh-key-list"] | .[]' > ssh-key-list.txt
while read ssh_key; do
if ! grep -q "$ssh_key" $ssh_authorized_keys_path; then
echo $ssh_key >> $ssh_authorized_keys_path
echo $ssh_key >> $ssh_authorized_keys_path
fi
done < ssh-key-list.txt