Skip to content

Commit

Permalink
Merge pull request #17025 from spowelljr/fixKnowHosts
Browse files Browse the repository at this point in the history
CI: Add GitHub to known_hosts
  • Loading branch information
medyagh authored Aug 9, 2023
2 parents aad60ab + 226b834 commit eba1e7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hack/jenkins/cron/cleanup_and_reboot_Linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ function cleanup() {
# clear the known_host file (~/.ssh/known_hosts)
if test -f /home/${user}/.ssh/known_hosts; then
sudo echo "" > /home/${user}/.ssh/known_hosts
ssh-keyscan github.com >>~/.ssh/known_hosts
fi
done
# clean docker left overs
Expand Down

0 comments on commit eba1e7b

Please sign in to comment.