Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,513
Community Members
 
Community Events
165
Community Groups

Error adding SSH Key: "Someone has already added that key as an access key to a repository.

Hi, 

I added my SSH Key to a repo before adding it to my personal settings. Then I removed from repository and tried to add to Personal Settings SSH Keys, but I'm getting the message in the title.

I have seen similar issues here, but I just created this account, and have got just one repository. So not sure where the conflict key might be.

1 answer

0 votes
Syahrul Atlassian Team Jun 14, 2022

Hi @Francisco Gonzalez 

G'Day!

Can you re-generate the SSH key for your personal account if you are not using it elsewhere? If you can't, then we may need to create a support ticket to locate the current public SSH key.

Let me know if you wish to use the current public SSH key.

Cheers,
Syahrul

Hi,

Correct me if I'm wrong, but may the issue be that I am already using this SSH Key in a different account? i.e. SSH Keys must be unique in the whole bitbucket and not per account?

In my case, I just went for HTTP url using app token.

Thank you for your reply!

Cheers

Syahrul Atlassian Team Jun 15, 2022

Hey @Francisco Gonzalez 

Yes, you are right. SSH key can only be used on a single account/repositories, so if you already use it somewhere else, you can't re-use it.

The workaround is to find the SSH and remove it or re-generate a new public SSH key if you can't locate it.

Using HTTPS is also a workaround to avoid using the same SSH key.

I hope this helps.

Cheers,
Syahrul

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,230 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you