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

unable to retrieve recovery code using SSH

I login bitbucket with my google account. But I lost my 2FA device now.

How can I get the recovery code by SSH Recovery? It needs a password.

What's the password?

1 answer

0 votes
Ana Retamal Atlassian Team Aug 26, 2020

Hi @Syed Shahzeb Hasan, welcome to the Community! 

The password is whatever password you chose when you were setting 2FA for your account. We don't know what password you used, but it's the same password you type when you use your SSH key.

I'm assuming you're being prompted for the password when you run the following command, is that correct?:

ssh git@bitbucket.org recovery_codes

This command will bring out 6 recovery codes (one time use only) that you can use to get in. This is explained at Retrieve recovery codes through SSH.

If you can not obtain these codes, and didn't save the recovery code we initially sent you, please submit a support ticket so we can help you with this. 

Regards,

Suggest an answer

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

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,441 views 4 7
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