Skip to content

Commit

Permalink
(CI)(ssh) no explicit StrictHostKeyChecking
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh committed May 15, 2024
1 parent 24c5881 commit 0ebab42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/install-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ then
echo -e "\e[35;1meval \"\$(ssh-agent -s)\" && grep -slR \"PRIVATE\" ~/.ssh/ | xargs ssh-add\e[0m"
docker exec -e DOCKER_SSH_AUTH_SOCK="$DOCKER_SSH_AUTH_SOCK" -t tue-env bash -c 'eval "$(ssh-agent -s)" && ln -sf "$SSH_AUTH_SOCK" "$DOCKER_SSH_AUTH_SOCK" && grep -slR "PRIVATE" ~/.ssh/ | xargs ssh-add'

echo -e "\e[35;1mecho -e 'Host *\n StrictHostKeyChecking yes\n UpdateHostKeys yes' >> ~/.ssh/config\e[0m"
docker exec -t tue-env bash -c "echo -e 'Host *\n StrictHostKeyChecking yes\n UpdateHostKeys yes' >> ~/.ssh/config"
echo -e "\e[35;1mecho -e 'Host *\n UpdateHostKeys yes' >> ~/.ssh/config\e[0m"
docker exec -t tue-env bash -c "echo -e 'Host *\n UpdateHostKeys yes' >> ~/.ssh/config"

echo -e "\e[35;1mActive SSH keys:\e[0m"
docker exec -t tue-env bash -c "ssh-add -l 2>/dev/null" | awk '{print $2}'
Expand Down

0 comments on commit 0ebab42

Please sign in to comment.