Create
cancel
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

Unable to re-add a SSH key to BitBucket

I cleaned up the SSH keys in my profile:

Werner van der Merwe REMOVED an SSH key 2018-08-06 · 101.98.252.74
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC9YgpJJdfWVwAf94L…

Turns out I still need this as part of an existing pipeline, so I cannot create a new key for that user, and I desperately need this user to have access to the repos again.

When I try and re-add the key, it gives me the: "Someone has already added that key as an access key to a repository." error.

How can I either clear the history around this key, or be able re-add the key again?

 

7 answers

Same here. I had some issues pushing my repo to Bitbucket so I created it fresh: cloned from BB as an empty repo, and copied all my stuff from the old location to the new repo. Now when I want to add my key, "someone" has already added that, even though there is nothing in my list of keys on BB. I guess I should just generate a new key pair and be done with it.

Same thing happened with me. I tried to delete my ssh key from the repository and add it to my user settings so that I could get read/write access, like suggested in this StackOverflow answer https://stackoverflow.com/a/57114966/1639385, but then BitBucket complains with the message of "Someone has already added that key as an access key to a repository.".

I know this worked in the past so I conclude that this might be a bug. Im having the same issue at the moment

Same here! :(

Same thing happened to me. I'm unable to use bitbucket at all.

Same thing happened to me. 

Same here as of Aug 30th 2019.

Suggest an answer

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,717 views 10 16
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