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

1 vote

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!


Thanks, make sense

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 

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? 



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



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

267 views 0 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you