I am a new bitbucket user. I recently setup 2FA (two-factor) on my phone. I also setup ssh-key from my laptop. However, recently I had to reformat my phone, and I lost the 2FA codes. Unfortunately I also lost my ssh-keys as I changed them on my laptop. Now I can't login to bitbucket. Is there any way I can disable 2FA and login with my password? Otherwise, can I reset my account to have a fresh start?
Thank you for your suggestions.
Hi Sam! Did you save the recovery codes we provided you when you first set up 2FA in your account? If you have them, you can use them to gain access to your account again.
However, if you don't have access to the device you use to authenticate, nor saved the recovery codes, nor have the SSH that you used with Bitbucket, I'm afraid you've exhausted all the possible options to recover access. There is no other way to obtain a code outside of these options.
We don't have the ability to disable two-step verification for any Bitbucket user account. When you enable 2FA, you are committing to making that account accessible only to a user that is able to obtain a 2FA code. I'd recommend you restore your repos from the local data to a new Bitbucket account, or get copies from other users that may have worked on the repositories.
Let me know if you have any questions, Sam.
Same issue here.
I know we accept the terms when we enabled the 2FA but I hope I can still recover my account. I still know the email address and password. All I need is a code to enter.
Also, I think is unusual to only depend on 2FA without having other options like a text message, email resetting, etc.
I really need to recover my account since all my projects are there. I hope you can help us.
Hi Jerome, I'm sorry to hear you've lost all your access options. However, as I mentioned before, an account with 2FA enabled can only be accessed by a user that provides a 2FA code.
Also, I'm not sure what you mean by "I think is unusual to only depend on 2FA without having other options like a text message, email resetting, etc" As is the standard, we provide 3 ways of obtaining a code:
There is no other way to obtain a code outside of these options. You can still restore your repos from the local data to a new Bitbucket account, or get copies from other users that may have worked on the repositories.
Hello, I have a same problem. I used company email for an account and activated 2fa.
1. I stored recovery keys to my company computer.
2. I used browser authenticaticator
3. My machine ssh keys were added
We recently had an cyber attack and my machine was completely wiped out.
So, please, is there any way for me to prove my identity (I have part of the ssh key you've sent me via email) and to recreate my account? It's my company email so I would like to use this one.
Hi @Dragan Krstevski! Do you have a verification app installed on your mobile device? If you do, you'll still be able to log in to your account, disable 2FA, generate a new SSH key and enable 2FA again. This is explained in the article Two step verification.
What do you mean you have part of the SSH key we sent you via email? The SSH key should be generated by yourself following the steps at Creating SSH keys.
If you don't have the authentication app and don't have the SSH key on your machine, we won't be able to prove your identity, thus the account can not be recovered.
Let us know!
Hi Erika, I've never heard of postal mail being an option. As is the standard, we provide 3 ways of obtaining a code:
These options are widely used across different companies (Github and Google for example) and its advantages and risks are listed in many articles, like Don't get locked out when using 2FA.
There is no other way to obtain a code outside of these options. When you enable 2FA, you are committing to making that account accessible only to a user that is able to obtain a 2FA code. For more information you can see Retrieve recovery codes through SSH.
Please let us know if you have any other questions.
Google and GitHub are free -- that's the level of service I would expect. Bitbucket is supposed to be enterprise level.
Amazon Web Services offers 2FA, along with a way to recover the codes (if needed) by demonstrating ownership of the account phone and address. You should be measuring yourself against other business services.
Hi @Erica K, Google and GitHub are free as long as you don't get the paid option, same as for Bitbucket. Bitbucket is a product for all kind of users, from college students to big companies. You can have a free Bitbucket account with up to 5 users.
Let us know if you have any other questions,
I have an account in our jira that we can not recover the access codes for .... we even tried deleting the entire account and re-adding it new ... because it would be ridiculous to make the user get a new email address ... BUT so far that is the only option on the table.
NO BODY does MFA recovery this way ... ALL my other applications ... like O365, Pivotal, Saleforce, Zuora ..... ALL of them have a mechanism to reset credentials including the MFA credentials ... even if it requires administrative rights.
This is not even an enterprise feature ... it is a basic feature. It is ridiculous to make a user get a new email address because they did not write down their "recovery codes" ... most users will not write those down because none of their other SaaS applications truly require it. When an invite goes out, I am not standing over their shoulder to remind them that the "recovery code" is mission critical and that they literally have no option for getting back in the system with out it. Of course we could get them a new corporate email each time this happens .... such a bad path!
Hello there! To follow up on @Ike Hull's response, he's referring to the 'Organizations' functionality that was recently introduced for Jira and Confluence. Organizations provide a centralized way to manage your domains, products and users, it also allows you to subscribe to Identity Manager to apply security policies over all your managed accounts.
Bitbucket is excluded from this as Bitbucket accounts are not centrally managed as Jira and Confluence are, in Bitbucket every user is the admin of their own account.
Hope this clarifies!
Hi, Ana. So I'm trying to recover my account and I have the ssh keys associated with the account. It's a new laptop, but I always keep backups of my laptop. According to this link
you can get recovery codes by running
ssh firstname.lastname@example.org recovery_codes
However, when I run that, I receive the following:
$ ssh email@example.com recovery_codes
Warning: Permanently added 'bitbucket.org,18.104.22.168' (RSA) to the list of known hosts.
PTY allocation request failed on channel 0
logged in as <my username>.
You can use git or hg to connect to Bitbucket. Shell access is disabled.
Connection to bitbucket.org closed.
So it was certainly able to find my account and said I was logged in. Then it gave me a "shell access disable" message and didn't print out the recovery codes. I googled around a bit, but haven't found a solution to this. Any help would be great.
I have my authenticator App, which sends me recovery codes. The first step of verification code is always working fine, for logging into JIRA and Confluence. When I entered the second verification, it says 'Invalid Verification code'.
I tried using emergency recovery code on step-1, but still takes me to step-2 verification. This is annoying, cause emergency recovery code is to unblock when I cannot use Authenticator App / Verification Code.
Could you pls help ?
Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...
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!
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