You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
When I add SSH key I receive the following msg:
Someone has already added that SSH key to another account
What should that other account be? I'm not aware to have other Bitbucket accounts
Hi Marinus, welcome to the Atlassian Community :)
I can see that your Bitbucket account already has some SSH keys added, so maybe you're trying to add the same one again, which Bitbucket won't allow. In that case you'll need to create a new SSH key following the steps at Set up an SSH key.
Let us know if you have any questions and we'll be happy to help!
Hi @Niels de Feyter,
The same SSH key can not be used in multiple Bitbucket accounts, so when you try to re-use it you'll get that message to let you know that specific SSH key is already in use. It's not that we want to force users to create more SSH keys, it's just the way it works.
Hope this clarifies your concern.
I know, but I have to because it's forced to use multiple bitbucket-accounts.
My case is that different clients gave me access to bitbucket-repo's via different email-addresses. I did not find out how I can add multiple e-mail addresses to one single account. That would be my preferred solution; just one account because it's just me having access to multiple repositories.
But now I have multiple bitbucket-accounts with multiple usernames and try to work with that.
So I went down the rabbit-hole and I searched and searched for solutions. But right now to best solution I have found is to override the key on my .ssh/config every time I switch accounts. To me that is just not user-friendly at all.
So would it be possible to allow reusing an SSH-key?
My suggestion would be that you choose one of those accounts to be your unique account, and you transfer the repositories from the other accounts to that one. After that, you can add multiple email addresses to your Bitbucket account but note that this will only be useful to let people find your commits using an email which is not your main address. If other users would like to share repos with you, they'll still need to use your primary email address.
Hope that helps!
Hi @Ana Retamal
I can add new generated key but when you try to clone the repository, it throws the following error:
Cloning into 'my-repo-name'...
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Is there another solution ?