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,298,560
Community Members
 
Community Events
165
Community Groups

Problem: "Someone has already added that key as an access key to a repository."

I cannot add my SSH key to my account because of this: "Someone has already added that key as an access key to a repository."

I have checked all the places (company user, all the repositories I see etc.) but this key is not associated to none of the repositories nor users I know of.

I have tried to SSH bitbucket.org, but is does not say any details:

$ ssh -T git@bitbucket.org
authenticated via ssh key.

You can use git to connect to Bitbucket. Shell access is disabled

The identity used for SSH authentication is correct> I have a single SSH key (available from ssh-agent, stored on a gpg card).

Could anybody please suggest/help how to remove my public key from places I do not have access to?

No, using multiple SSH keys is not an option. 

 

Thank you

7 answers

2 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

Hi everyone,

If you came across this question because you are facing the same error, we want to ensure you get help. We ask that you please create a new question through https://community.atlassian.com/t5/forums/postpage/board-id/bitbucket-questions

Kind regards,
Theodora

0 votes
Answer accepted

The solution was provided by Atlassian support. They can tell you what account/repo is your key assigned to. Then you can contact the owner and ask to remove it.

Okay, awesome thank you for your reply!

Hey! I am having the same problem currently. When I run 

$ ssh -T git@bitbucket.org

I receive: 

authenticated via ssh key.

You can use git to connect to Bitbucket. Shell access is disabled


I don't have another ssh key and would prefer not to create a new one. Is there a solution?

hey @Theodora Boudale 

as @djozsef recommended I sent in a request for support help last week but have not yet heard back. Is there any way you could expedite the process by creating a support ticket for me as well? I appreciate any help!

Thank you!

Jordan

Hi @fv-jordan

Your support ticket was created with a team other than Bitbucket Cloud support, I reached out to them and they've transferred your ticket to the appropriate team.

Could you please share in the support ticket the public SSH key you are trying to add? If we have the public key, we can then search in our system and see which account or repo(s) it is associated with.

Kind regards,
Theodora

Hey @Thedora Duncan thank you so much for your help! I really appreciate it :)

Should I expect to receive an email for the support ticket in order to add the my public key there? I haven't received any emails or notifications as of yet and am not sure how else to find the support ticket.

Thank you again!

Jordan

0 votes

Hey! I am having the same problem when I try to run 

$ ssh -T git@bitbucket.org

I receive: 

authenticated via ssh key.

You can use git to connect to Bitbucket. Shell access is disabled


I don't remember which account uses my key, can you please help?

Hi @Misha Kvach,

There is no Bitbucket Cloud account in our system with the same email as your community account. We won't be able to share any details regarding your SSH key if the email used for the support ticket doesn't have access to the account or repo(s) in question.

I assume you have a Bitbucket Cloud account with a different email where you are trying to add the SSH key?
If so, could you please log in https://community.atlassian.com/ using that email and leave a comment here? I will then be able to view that account's email and can proceed with creating a support ticket using that email.

Kind regards,
Theodora

0 votes
_henrik I'm New Here Mar 03, 2022

@Theodora Boudale I have the same problem. Could you also create a support ticket for me?

Hi @_henrik ,

I created a support ticket for you using the email of your community account, you should have received an email with a link to the support ticket.

Please leave a comment in the support ticket with the public SSH key you are trying to add, so the engineer working on the ticket can check where this key has been added to.

If you have any questions, please feel free to let me know.

Kind regards,
Theodora

Like _henrik likes this
0 votes

Hi @Theodora Boudale i have the same situation. When i'm trying to add SSH key i got error message:

Someone has already added that key as an access key to a repository.

when i type in terminal 

 ssh -T git@bitbucket.org

i got a message 

authenticated via ssh key.

 

You can use git to connect to Bitbucket. Shell access is disabled

Hi @Leszek Kledzik,

I have created a support ticket for you using the email of your community account, you should have received an email with a link to the ticket.

The ticket will be visible only to you and Atlassian staff, so you can leave a comment there and share the public SSH key. An engineer from Bitbucket Cloud support team can then check where this SSH key has been added to.

If you have any questions, please feel free to let me know.

Kind regards,
Theodora

0 votes

Hi @djozsef,

I created a support ticket for you for this issue, using the email of your community account. You should have received an email with a link to the support ticket (in case you haven't, please feel free to let me know and I can post the ticket URL here).

The support ticket will be visible only to you and Atlassian staff, so:
- You can share in the support ticket the public SSH key you are trying to add
- The support engineer working on your ticket can check which repo(s) it is associated with
- If it is associated with a repo you have access to, they can give you the repo(s) URL

If you have admin access to the repo(s) this key is added to, you will be able to remove the SSH key yourself. If you don't have admin access, you can ask the owner or another admin of the repo(s) to remove the SSH key.

If you have any questions, please feel free to let me know.

Kind regards,
Theodora

Hello Theodora,

Thanks a lot. I'll share my public key right away at the support ticket. I'll keep the community informed about the resolution here if there would be any useful information.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,231 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you