I followed exactly the steps as described here: https://community.atlassian.com/t5/Bitbucket-questions/How-ca
n-I-use-SSH-in-Bitbucket-Pipelines/qaq-p/347345#M25670
- Generate a Pipelines SSH key in repo 1
- Add an access key to repo 2 where I paste in the public key of step 1
- git clone in bitbucket-pipelines.yml
However, it does not work..
Step 8/11 : RUN git clone git@bitbucket.org:scisports/py-test.git
---> Running in b08f73d8cc5d
Cloning into 'py-test'...
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
What could be the problem?
Looking here, https://community.atlassian.com/t5/Bitbucket-Pipelines-questions/SSH-connection-Hosting-server-to-Bitbucket-Host-key-verification/qaq-p/836082, it says it is an issue with known_hosts. However, for another Bitbucket repo this should be already fixed?
Hi Derk,
If you haven't already done so could you please raise a support ticket here: https://support.atlassian.com/contact. Be sure to include a link to your failing build. This will allow us to take a look at your configuration and logs.
Cheers,
Steven
Would be nice if there was an answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.