Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Someone has already registered this as an account SSH key. No account has this SSH key attached.

Daniel Deering November 1, 2017

I've seen this question on here quite a few times but my situation may be unique.

I am currently using Acquia Cloud Site Factory and have just started having trouble connecting my theme repos to their respective sites.

Acquia provides me a unique public ssh key for the sites but when I try and add that specific key to it's theme repo I get "Someone has already registered this as an account SSH key." Problem is, this key is not registered to anyone on the team.

I did have to remove a couple of users from our team, which might be what caused it. But if I removed them from our account how could that key still be registered or valid? There are no keys registered on any of our theme repos or teams. I'm unsure how to re add that key.

Any help would be awesome, as I can't update my sites.

2 answers

0 votes
Deleted user July 5, 2019

I solved this problem by creating an alternative ssh-key (with `ssh-keygen`) and setting in the ssh config file that bitbucket should use that key. So I added these lines to `~/.ssh/config`:

Host bitbucket.org
    IdentityFile ~/.ssh/id_rsa_bitbucket
0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 1, 2017

Hi Daniel! Can you run this command from your terminal and check the output? This will attempt to create a connection to Bitbucket for Git and tell you which username is using:

ssh -Tv git@bitbucket.org

However, if the username it returns was deleted, my assumption is that the SSH key should be available for use. If that's the case, let us know the username that shows up so we can have a look.

Regards,

Ana

Daniel Deering November 3, 2017

Hi Ana,

Thanks for the reply. When I run the command, I get "Permission Denied (publickey)" along with a entire string other code. I can send you my code but don't want to post it on here for security reasons.

Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 16, 2017

Hi @Daniel Deering, sorry for the delay. I've created a ticket for you in our support system, you'll receive an email notification shortly. Please make sure to provide the error you get and a screenshot, so we can continue helping you there :)

Cheers,

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events