Forums

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

Can't SSH Key

Lakshit Singh Bisht
June 12, 2026

"error - key: Someone has already added that SSH key."


I am getting this error while adding my ssh key for signing commits. 
1. Technically I can use same key for multiple purpose, so why is bitbucket showing it?
2. I have added same key in Github, Gitlab, Codeberg, and Gitea. There no problem and commits are signed automatically

1 answer

0 votes
Arkadiusz Wroblewski
Community Champion
June 13, 2026

Hello @Lakshit Singh Bisht 

Bitbucket requires SSH keys to be globally unique. This error means your key is already registered somewhere else in Bitbucket Cloud (e.g., another account, workspace, or repository access key).

If this key is already linked to your personal account for authentication, you don't need to add it again for commit signing. Otherwise, the fastest is to generate a new SSH key pair which is also a security best practice for easier rotation.

Best,

Arkadiusz 🤠☀️

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events