Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable strict host checking with a flag #7

Merged
merged 2 commits into from
Nov 4, 2022

Conversation

chuckydev
Copy link
Collaborator

When running vergo on CI (and locally without github as an entry to known_hosts) we were getting the error:

INFO[0000] push to remote origin error: ssh: handshake failed: knownhosts: key is unknown 

This can be fixed by running the command:
ssh-keyscan -H github.com >> ~/.ssh/known_hosts

There should be no need to run this on CI as this is not cached, therefore this PR adds a new flag to disable strict host checking with the suggetion to only using this on CI.

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Adam Dougal <[email protected]>
@chuckydev chuckydev merged commit e5c2b7a into master Nov 4, 2022
@alangibson01 alangibson01 deleted the disable-strict-host-checking branch November 4, 2022 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants