Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Problem with ssh key

While trying to add the ssh key in bitbucket getting the following error: 


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

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 11, 2022

Hi @kunal basnet and welcome to the community.

If an SSH key has been added to a repository as an Access key, then it will not be possible to add it to your account's SSH keys (unless you remove it from the repos' Access keys).

I see that your Bitbucket Cloud account has access to a small number of repos, so I would suggest following these steps to see if the SSH key is an Access key to any of those:

  1. Open a repository on Bitbucket website
  2. Select Repository settings from the left-hand menu
  3. Then select Access keys

Please check if the SSH key you are trying to add is listed on that page as an Access key.

If it is and if you don't need an Access key, you can remove it from that page and then add it to your account's SSH keys.

If you do need the Access key in the repo for other purposes, you can leave it there and then add a different SSH key to your account.

If the key is not added to any of your repos, but to a repo you don't have access to, then for privacy reasons we cannot share with you the details of any repos you don't have access to.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events