Commit d2cc1684 authored by Harsh Chouraria's avatar Harsh Chouraria Committed by Mike Jang

Use gitlab.com in 2FA recovery ssh command

Most of the times the users following a recovery guide are the ones that
use GitLab.com (SaaS), because on self-managed instances they are more
likely to reach out to their local administrators.
parent ccf58ce1
...@@ -393,9 +393,13 @@ a new set of recovery codes with SSH: ...@@ -393,9 +393,13 @@ a new set of recovery codes with SSH:
1. Run: 1. Run:
```shell ```shell
ssh git@gitlab.example.com 2fa_recovery_codes ssh git@gitlab.com 2fa_recovery_codes
``` ```
NOTE:
On self-managed instances, replace **`gitlab.com`** in the command above
with the GitLab server hostname (`gitlab.example.com`).
1. You are prompted to confirm that you want to generate new codes. 1. You are prompted to confirm that you want to generate new codes.
Continuing this process invalidates previously saved codes: Continuing this process invalidates previously saved codes:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment