Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Access to other private repository in Bitbucket pipelines

dmus
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 3, 2018

I followed exactly the steps as described here: https://community.atlassian.com/t5/Bitbucket-questions/How-can-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 b08f73d8cc5dCloning 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?

1 answer

0 votes
Steven Vaccarella
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 13, 2018

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

David Sells
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 20, 2019

Would be nice if there was an answer.

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events