Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,465,475
Community Members
 
Community Events
176
Community Groups

Pipeline needs to access multiple repos

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 Jul 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

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 Jul 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 Community Events