Gitlab Account Login Problem

Hello,

I was using two-step verification when logging into gitlab, but my phone was malfunctioning so I can’t access the app and I can’t remember my recovery code. How can I recover my account?

If you have an SSH key registered to your account, you can use it to reset your MFA: https://docs.gitlab.com/ee/user/profile/account/two_factor_authentication.html#generate-new-recovery-codes-using-ssh

3 Likes

Thank you so much.

You saved me a great burden. I am grateful to you. <3

1 Like

I am trying to generate the recovery codes in the same manner as mentioned in the above article and I am getting the following error. Can you please help is there any alternate way to login to my Gitlab account.

c:>ssh git@gitlab.com 2fa_recovery_codes
git@gitlab.com: Permission denied (publickey).

Thank you

This issue has been already fixed with another ticket from my colleague. Please do not do anything to my account. Thanks.