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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I remove an ssh key from an old bitbucket work account?

I added my ssh key to a bit bucket account associated with a work email address. I no longer work there and don't have access to that work email and also don't know the password for the old work email. I'm unable to add my ssh key to my personal account. Anyway round this?

1 answer

2 votes
Ana Retamal Atlassian Team Jun 14, 2017

Hi Nai! If you don't have access to your work Bitbucket account you won't be able to remove the SSH key. You'll need to create a new SSH key for your other Bitbucket account, as explained at Set up SSH for git.

Hope this helps!

Ana

Thanks, make sense

Ana Retamal Atlassian Team Jun 14, 2017

Glad I could help :)

I have the private key but don't have access to the account , this would make the key pair useless for bitbucket anyways . A way to remove public key would be great 

Ana Retamal Atlassian Team Feb 18, 2019

Hi @Sarath Pillai, I'm not sure I understand what you mean. So you have the private key but don't have the password for the Bitbucket account? Do you still have access to the email? If so, you could reset the password.

If you still need help, can you describe a bit more what's happening? 

Cheers, 

Ana

I have used my public key for company account, since I left the company I don't have access to the account anymore. 

But since my public key is in that account i can not use my key in new bitbucket account 

 

In this situation I would like to remove the public key from the old account so that i can use it for new account

 

 

I have the same issue.

 

I had a very old domain several years ago, and stopped renewing it, with that said, I already have forgotten it. Now I have a client that's using Bitbucket, I thought I'd add my ssh key to this new acct. Unfortunately, Bitbucket complains, I can't add it (It came out that, the same ssh-key now I have, is the same ssh-key that is in the old, no-longer maintained acct).

Are there any way I can remove the SSH-key on that "no longer maintained" acct? As I no longer have that domain. I can't change my ssh-key, as I'm using it in a lot of servers.  

Hi, 

I'm also having same issue, the solution would be appreciated. I tried to add new ssh key but for some reason I think it's getting interfered with the existing old company associated account.

I managed to log in to the account created with company email and deleted it. Now the old handle is associated to this new account. Maybe this causes the issues. Is there some delay when the ssh keys on deleted accounts get "freed"? What to do?  When I try to submit the current rsa to bitbucket settings I get notified that "Someone has already added that SSH key.". 

Can I get some guidance to remove the SSH key properly or way to clear the ssh setup in bitbucket end.

same problem for me. would be nice to have an option to drop public keys with the help of private key in any way. actually connecting with ssh is possible and i receive the old repos. but i cannot add my ssh key to my new profile. using an 2nd ssh key ist not feasible

> If you don't have access to your work Bitbucket account you won't be able to remove the SSH key.

 

That's some insane bullshit. Fix your system, instead of forcing users to create tons of SSH keys. If I had keys from 5 devices added to my account do you expect me to create another set of 5 keys just because this was a company account and I no longer work there?

Suggest an answer

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,713 views 10 16
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