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

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?

2 answers

2 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
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
Atlassian Team members are employees working across the company in a wide variety of roles.
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
Atlassian Team members are employees working across the company in a wide variety of roles.
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?

I am facing same issue, creating multiple ssh keys doesn't really seem as a feasible option.

how to remove ssh key from bitbucket

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events