The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem: "Someone has already added that key as an access key to a repository."

AndreyVasylyuk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 7, 2023

Problem: "Someone has already added that key as an access key to a repository."

Hi, I created ssh connection but I don't see it in "SSH keys" and I get 

$ git push
Unauthorized
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I added new ssh key, cloned one more time but 
$ ssh -vT git@bitbucket.org
shows connection with the first key, which I don't see in "SSH keys".

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 7, 2023

Welcome to the Atlassian Community!

 

There's no easy way to work this out because the keys that belong to other accounts should not be shared.

If you shared the key with someone or used it with a different account, you should already know who it is.  If someone gave you the key, you will need to ask them.  

If you have no luck chasing it down, you can raise a support request with Atlassian, and they can search out the key for you and identify the account you shared it with.

If you don't want to spend ages chasing down the share, you can (and should) create a new key for your account and use that instead.

For a better explanation, see Theodora’s answer on

AndreyVasylyuk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 8, 2023

ok, thanks

DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events