From e10a3218d6631c130fe2ef42878193738cf76007 Mon Sep 17 00:00:00 2001 From: Luke Bennett Date: Thu, 2 May 2019 10:45:09 +0100 Subject: Correct repo mirror SSH key generation docs --- doc/workflow/img/copy_ssh_public_key_button.png | Bin 0 -> 11225 bytes doc/workflow/repository_mirroring.md | 6 ++++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 doc/workflow/img/copy_ssh_public_key_button.png diff --git a/doc/workflow/img/copy_ssh_public_key_button.png b/doc/workflow/img/copy_ssh_public_key_button.png new file mode 100644 index 00000000000..e20dae09a4d Binary files /dev/null and b/doc/workflow/img/copy_ssh_public_key_button.png differ diff --git a/doc/workflow/repository_mirroring.md b/doc/workflow/repository_mirroring.md index 9fcadbf3bee..2f8f1545b84 100644 --- a/doc/workflow/repository_mirroring.md +++ b/doc/workflow/repository_mirroring.md @@ -222,8 +222,10 @@ being injected into your mirror, or your password being stolen. ### SSH public key authentication To use SSH public key authentication, you'll also need to choose that option -from the **Authentication method** dropdown. GitLab will generate a 4096-bit RSA -key and display the public component of that key to you. +from the **Authentication method** dropdown. When the mirror is created, +GitLab generates a 4096-bit RSA key that can be copied by clicking the **Copy SSH public key** button. + +![Repository mirroring copy SSH public key to clipboard button](img/copy_ssh_public_key_button.png) You then need to add the public SSH key to the other repository's configuration: -- cgit v1.2.1