Forums

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

Pipeline needs to access multiple repos

binjie zhao July 8, 2022 edited

Hi

We have a pipeline that needs to clone multiple common module repos. I followed this article: https://bitbucket.org/blog/cloning-another-bitbucket-repository-in-bitbucket-pipelines

 

However, when trying to add the public ssh key to the target repo as access key, I got following error:

`Someone has already added that SSH key to another account.`

 

I can't find where the keys are added. I did some research and came across this discussion: https://community.atlassian.com/t5/Bitbucket-questions/Problem-quot-Someone-has-already-added-that-key-as-an-access-key/qaq-p/1851681

Hence posting a question here. Atlassian support, can you help please? 

 

Many thanks.

1 answer

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 10, 2022

Hi @binjie zhao

Welcome to the community.

Usually, the error indicates the public SSH key you're trying to add is added to your Bitbucket Cloud account's SSH keys. - https://bitbucket.org/account/settings/ssh-keys/
For this, if you followed this guide here, you won't need to add the public key under your account SSH keys.

You'll just need to add it as an access key in your repositories.

If the public SSH key is added to your account's SSH keys, would it be possible for you to remove it there?
Once done, add it to your repositories' access key.

Hope it helps and let me know how it goes.

Regards,
Mark C

binjie zhao July 11, 2022 edited

Hi Mark

 

Thanks for your reply.

The public SSH isn't added to my account with Atlassian. That's where the confusion is from. I have no idea where it is added. I think the folks were discussing about this issue here too: 

https://community.atlassian.com/t5/Bitbucket-questions/Problem-quot-Someone-has-already-added-that-key-as-an-access-key/qaq-p/1851681

 

Regards,

Binjie

Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 11, 2022

Hi @binjie zhao

Thanks for that information.

So that we can investigate the issue further, I went ahead and created a support ticket for this.

You should be able to receive an email notification about it.
Let's continue our discussion there.

Regards,
Mark C

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
atlassian, jira, marketing project management, jira for marketers, agile marketing, campaign planning, marketing workflows, jira templates, atlassian learning, marketing collaboration, project tracking, marketing teams, jira training

Streamline Marketing in Jira 🖼️

Plan, prioritize, and deliver marketing projects seamlessly. See how Jira supports your team's success. Start today!

Start now! 🚦
AUG Leaders

Atlassian Community Events