From 226b834faf63b422c88584133ed3dec47a8cbee5 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Tue, 8 Aug 2023 16:01:56 -0700 Subject: [PATCH] CI: Add GitHub to known_hosts --- hack/jenkins/cron/cleanup_and_reboot_Linux.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/hack/jenkins/cron/cleanup_and_reboot_Linux.sh b/hack/jenkins/cron/cleanup_and_reboot_Linux.sh index 280da39577..ae3789fe5e 100755 --- a/hack/jenkins/cron/cleanup_and_reboot_Linux.sh +++ b/hack/jenkins/cron/cleanup_and_reboot_Linux.sh @@ -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