Bug on old duplicates ssh key

Issue #8375 resolved
Guillaume Sondag
created an issue


I want to deploy 3 repositories on my server. I deleted all SSH keys for start cleany but when i want to add a new SSH key i have this message : "Someone has already registered this as an account SSH key." It's impossible all olds SSH keys are down. Can you help me ?

Best regards,


Comments (8)

  1. Jesse Yowell staff


    If you are getting this error, there is still a user that has your current SSH key in the file. Please e-mail support@bitbucket.org so we can help you further.

    Thanks, Jesse

  2. Marcus Bertrand staff

    You can find out which user has the key by running

    ssh -Tv git@bitbucket.org

    Usually, you won't need to wait for us to do anything else as we've found this is usually a forgotten account. In any case, support can remove it from another account if we do verify that you are the owner.

  3. Murad Kablan

    Hello, I used to have a “team” repository and my machine’s ssh key is added to it. Since there are no team repositories any more in bitbucket, I am having problems adding new repositories to my personal account.

    The problem is that I can’t add new ssh keys from the same machine I used with the team repository. Every time I do so I got an error message saying “Someone has already registered that SSH key”. I can’t delete the old ssh keys from my team repository because I cannot access it any more. I tried to generate new ssh keys in my machine but the new generated key is identical to the old one.

    Please advise, Thanks,

  4. Log in to comment