How to recoverd the Two-Factor Authentication?

I have lost my Two Factor Authentication scan code as well as the SSH Key. Is there any way to recover or reset my User Authentications ?

@kmuralidharan If you’re a GitLab.com user please feel free to contact us directly so that we can assist you with this. If this is regarding an account on a self-managed instance of GitLab then you’ll want to get in contact with a user with administrative rights to the instance.

1 Like

Hi, I’m unable to sign in my account because I lost my two-factor authentication device access.
I also didn’t find file 2fa_recovery_codes, probably I lost too.
But I still can git pull/push my privated sources, exist a way to disable two-factor authentication using git ?

If not, what I can do to recovery my account access whitout lost my data?

I contacted GitLab.com support, but I only received automatic response howto to use file 2fa_recovery_codes.

@leandrotsampa If you’re able to perform git operations via SSH with your repositories then you should be able to generate new recovery codes that you can use to log in. The auto-response you received in the ticket you submitted has directions on how to do that.

If that doesn’t work, you’ll want to reply back to that ticket to let us know you still need help and we’ll be happy to assist you.

1 Like

The operations I can make is:
git clone https://gitlab.com/leandrotsampa/VFDControl.git
git pull/push

Without problem, but I never accessed by ssh.
I can access by ssh without file 2fa_recovery_codes?

@leandrotsampa It sounds like your account doesn’t have an SSH key associated with it. Please go ahead with replying back to the ticket you submitted and we’ll get you sorted out from there.

I already replyed but no response yet.
Request number: 146257

And always when I request support only receive automatic response to use 2fa.

@leandrotsampa It looks like you’ve received a response on that ticket, so we are now actively assisting you with this matter in the proper manner and through the proper channel.

In the interest of reducing clutter and staying on topic let’s now discontinue using this thread for this conversation as the original issue has already been addressed.

@Tristan I have the same problem.
I’ve written to support under one thread but i didn’t get any human answer.

Maybe the Support team is busy handling huge support requests. Try back-reading the whole thread for details.

You need open a support request:
https://support.gitlab.com/hc/en-us/requests/new

After open you will get a automatic response, if howto not work to you, reply and wait contact.
Time of response is +/- 5 days.

1 Like

@Tristan And if I’ve access to the repositories via SSH, How Can I recover my gitlab access with SSH?

@Tristan

And if I’ve access to the repositories via SSH, How Can I recover my gitlab access with SSH?

@edycarreyes99 If you have access to GitLab.com via SSH keys still then you should be able to generate new recovery codes via SSH that you can provide at login.