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,297,434
Community Members
 
Community Events
165
Community Groups

After removing the SSH key from an old account which I plan on deleting, I can't use the same key with another account I have.

I know this is a security thing but with so many services tied to the same key I can't easily change it.

Any advice?

1 answer

0 votes

Hi Chris,

You should be able to use an SSH key in your Bitbucket Cloud account, as long as it is not used in another account, or in another repo as an Access key.

What kind of error do you see when you try to add the key to your other account?

In case this key was used as an Access key in a repo and you removed it from there, it's possible that it is used in other repo(s) as well.

Running the following command on the machine that has the private SSH key, will show you if the key pair is associated with another account or repo:

ssh -i ~/.ssh/id_rsa git@bitbucket.org

where ~/.ssh/id_rsa replace with the path and name of this private SSH key, if different.

Kind regards,
Theodora

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,214 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