I go to add my public SSH key via Settings > SSH keys; there isn't anything there. "There are no keys configured"
I click the Add key button, provide an appropriate Label and paste in my public key. I get an error "Someone has already added that SSH key.".
This seems odd, there are no keys, but I can't add one because there is one there...what? I'm more of a GitHub guy but in this case I'm reduced down to having to deal with and use Bitbucket!
Just create another one SSH-key by command:
ssh-keygen -t rsa
Then "ssh key generator" will ask you the name for your key, just type for instance:
bitbucket_key
Then edit (or create) the file ~/.ssh/config. Need to add the host for your key. The content of the file should look like this:
Host *
IdentityFile ~/.ssh/id_rsa
Host bitbucket.org
IdentityFile ~/.ssh/bitbucket_key
Do not forget to add your bitbucket_key.pub key to your Bitbucket account!
Enjoy! :)
Hey @Wayne Ritchie,
You seem to be trying to use the very same SSH key in different accounts in Bitbucket. SSH keys uniquely identify users, so they have to be unique across Bitbucket.
Hope this helps.
Cheers,
Daniil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.