@@ -55,7 +55,7 @@ As an admin, you can restrict
55
55
By default, all keys are permitted, which is also the case for
56
56
[ GitLab.com] ( ../user/gitlab_com/index.md#ssh-host-keys-fingerprints ) .
57
57
58
- ## ED25519 SSH keys
58
+ ### ED25519 SSH keys
59
59
60
60
Following [ best practices] ( https://linux-audit.com/using-ed25519-openssh-keys-instead-of-dsa-rsa-ecdsa/ ) ,
61
61
you should always favor [ ED25519] ( https://ed25519.cr.yp.to/ ) SSH keys, since they
@@ -65,7 +65,7 @@ They were introduced in OpenSSH 6.5, so any modern OS should include the
65
65
option to create them. If for any reason your OS or the GitLab instance you
66
66
interact with doesn't support this, you can fallback to RSA.
67
67
68
- ## RSA SSH keys
68
+ ### RSA SSH keys
69
69
70
70
RSA keys are the most common ones and therefore the most compatible with
71
71
servers that may have an old OpenSSH version. Use them if the GitLab server
@@ -166,12 +166,13 @@ Now, it's time to add the newly created public key to your GitLab account.
166
166
NOTE: **Note:**
167
167
If you opted to create an RSA key, the name might differ.
168
168
169
- 1. Add your public SSH key to your GitLab account by clicking your avatar
170
- in the upper right corner and selecting **Settings**. From there on,
171
- navigate to **SSH Keys** and paste your public key in the "Key" section.
172
- If you created the key with a comment, this will appear under "Title".
173
- If not, give your key an identifiable title like _Work Laptop_ or
174
- _Home Workstation_, and click **Add key**.
169
+ 1. Add your **public** SSH key to your GitLab account by:
170
+ 1. Clicking your avatar in the upper right corner and selecting **Settings**.
171
+ 1. Navigating to **SSH Keys** and pasting your **public** key in the **Key** field. If you:
172
+
173
+ - Created the key with a comment, this will appear in the **Title** field.
174
+ - Created the key without a comment, give your key an identifiable title like _Work Laptop_ or _Home Workstation_.
175
+ 1. Click the **Add key** button.
175
176
176
177
NOTE: **Note:**
177
178
If you manually copied your public SSH key make sure you copied the entire
@@ -305,7 +306,7 @@ who needs to know and configure the private key.
305
306
GitLab administrators set up Global Deploy keys in the Admin area under the
306
307
section ** Deploy Keys** . Ensure keys have a meaningful title as that will be
307
308
the primary way for project maintainers and owners to identify the correct Global
308
- Deploy key to add. For instance, if the key gives access to a SaaS CI instance,
309
+ Deploy key to add. For instance, if the key gives access to a SaaS CI instance,
309
310
use the name of that service in the key name if that is all it is used for.
310
311
When creating Global Shared Deploy keys, give some thought to the granularity
311
312
of keys - they could be of very narrow usage such as just a specific service or
0 commit comments