Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Could not add id_rsa to my account

I'm trying to add my public key to my account but I got:

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

After digging about this error, I got the way to identify which repositories is using my access key in order to delete it:

This deploy key has read access to the following repositories:

But I don't have access to this repos anymore (it was mercurial repos that were erased by Atlassian).

How can I fix this without creating a new id_rsa?

1 answer

1 accepted

0 votes
Answer accepted

Hi @josir ,

These repos still exist in our system, but in an 'Unavailable' state, which I believe is the reason why you cannot add the SSH key to your account.

I can attempt to delete these repos from our side, which would solve the issue, but I would like to ask first whether you would like a backup of these repos?

The support team is still able to provide a backup of Mercurial repos. If you'd like that, I can open a support ticket for you, so that we provide you with a backup and then delete these repos.

Otherwise, if you don't need a backup, let me know and I can attempt the deletion of these repos from our side.

Kind regards,

Hi Theodora, sorry to answer just now. COVID chaos...

Yes, you can delete all this repos. I've done the backup when mercurial was desativated.

Hi @josir,

Thank you for the confirmation. I am not able to delete these repos, so I will create a support ticket for you to check if someone from our development team can help.

You should receive a link to the support ticket within the next few minutes (in case you don't, please feel free to let me know and I can post the ticket url here).

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

Kind regards,

Like josir likes this

Hi @josir

I actually just found out there is another method/way I can try to delete these repos, so let me give it a try and I'll get back to you.

Kind regards,

Like josir likes this

Hi @josir,

I deleted the two Mercurial repos mentioned in your post.

Feel free to let me know if you are able to add the SSH key to your account now and if you need anything further.

Kind regards,

Thanks a lot Theodora!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

239 views 2 5
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