The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

unable to retrieve recovery code using SSH

Syed Shahzeb Hasan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 25, 2020

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

TAGS
AUG Leaders

Atlassian Community Events