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.
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:
Regards,
Binjie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Plan, prioritize, and deliver marketing projects seamlessly. See how Jira supports your team's success. Start today!
Start now! 🚦Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.