You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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?
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.
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:
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.