Are you sure you want to continue connecting yes/no?

You may run into this message halting your build. This can happen when trying to access secured remote resources using SSH keys injected into your job from the UI.

Those keys are ones you've added to https://circleci.com/<vcs>/<orgName>/<projectName>/edit#ssh, where vcs is either gh (GitHub) or bb (Bitbucket), and orgName and projectName are the organization and project names on that VCS.

This can usually be resolved by explicitly adding the SSH key fingerprint with the add_ssh_keys config option, as in the snippet below. You can find the fingerprint displayed on the page above where you added the key. Read more about add_ssh_keys here on our docs page.

- add_ssh_keys:
        fingerprints:
                - "b7:35:a6:4e:9b:0d:6d:d4:78:1e:9a:97:2a:66:6b:be"

Was this article helpful?
0 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.