Skip to content

Commit

Permalink
Disable strict host key checking for Pantheon (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
justafish authored Dec 6, 2023
1 parent 65f6b30 commit e1e7b57
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scaffold/github/actions/common/ddev/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ runs:
fi
# SSH config file
touch .ddev/homeadditions/.ssh/config
# Disable strict host key checking for Pantheon as ssh-keyscan will not
# return a stable response.
if [ -f "pantheon.yml"]; then
echo -e "Host *.drush.in\\n\\tStrictHostKeyChecking no\\n\tLogLevel ERROR\\n" >> ~/.ssh/config
fi
chmod 600 .ddev/homeadditions/.ssh/config
chmod 700 .ddev/homeadditions/.ssh
Expand Down

0 comments on commit e1e7b57

Please sign in to comment.