Commit 6ef8b05d authored by Mike Jang's avatar Mike Jang

Merge branch 'hchouraria-doc-2fa-ssh-recovery-command-gitlab.com' into 'master'

Use gitlab.com in 2FA recovery ssh command

See merge request gitlab-org/gitlab!50591
parents ccf58ce1 d2cc1684
......@@ -393,8 +393,12 @@ a new set of recovery codes with SSH:
1. Run:
```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.
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