@@ -136,14 +136,14 @@ Enter file in which to save the key (/home/user/.ssh/id_rsa):
...
@@ -136,14 +136,14 @@ Enter file in which to save the key (/home/user/.ssh/id_rsa):
```
```
If you don't already have an SSH key pair and are not generating a [deploy key](#deploy-keys),
If you don't already have an SSH key pair and are not generating a [deploy key](#deploy-keys),
accept the suggested file and directory. Your SSH client will use
accept the suggested file and directory. Your SSH client uses
the resulting SSH key pair with no additional configuration.
the resulting SSH key pair with no additional configuration.
Alternatively, you can save the new SSH key pair in a different location.
Alternatively, you can save the new SSH key pair in a different location.
You can assign the directory and filename of your choice.
You can assign the directory and filename of your choice.
You can also dedicate that SSH key pair to a [specific host](#working-with-non-default-ssh-key-pair-paths).
You can also dedicate that SSH key pair to a [specific host](#working-with-non-default-ssh-key-pair-paths).
After assigning a file to save your SSH key, you'll get a chance to set up
After assigning a file to save your SSH key, you can set up
a [passphrase](https://www.ssh.com/ssh/passphrase/) for your SSH key:
a [passphrase](https://www.ssh.com/ssh/passphrase/) for your SSH key:
```plaintext
```plaintext
...
@@ -224,7 +224,7 @@ Now you can copy the SSH key you created to your GitLab account. To do so, follo
...
@@ -224,7 +224,7 @@ Now you can copy the SSH key you created to your GitLab account. To do so, follo
1. Include an (optional) expiry date for the key under "Expires at" section. (Introduced in [GitLab 12.9](https://gitlab.com/gitlab-org/gitlab/-/issues/36243).)
1. Include an (optional) expiry date for the key under "Expires at" section. (Introduced in [GitLab 12.9](https://gitlab.com/gitlab-org/gitlab/-/issues/36243).)
1. Click the **Add key** button.
1. Click the **Add key** button.
SSH keys that have "expired" using this procedure will still be valid in GitLab workflows.
SSH keys that have "expired" using this procedure are valid in GitLab workflows.
As the GitLab-configured expiration date is not included in the SSH key itself,
As the GitLab-configured expiration date is not included in the SSH key itself,
you can still export public SSH keys as needed.
you can still export public SSH keys as needed.
...
@@ -241,7 +241,7 @@ your terminal (replacing `gitlab.com` with your GitLab's instance domain):
...
@@ -241,7 +241,7 @@ your terminal (replacing `gitlab.com` with your GitLab's instance domain):
ssh -T git@gitlab.com
ssh -T git@gitlab.com
```
```
The first time you connect to GitLab via SSH, you will be asked to verify the
The first time you connect to GitLab via SSH, you should verify the
authenticity of the GitLab host that you're connecting to.
authenticity of the GitLab host that you're connecting to.
For example, when connecting to GitLab.com, answer `yes` to add GitLab.com to
For example, when connecting to GitLab.com, answer `yes` to add GitLab.com to
the list of trusted hosts:
the list of trusted hosts:
...
@@ -256,10 +256,10 @@ Warning: Permanently added 'gitlab.com' (ECDSA) to the list of known hosts.
...
@@ -256,10 +256,10 @@ Warning: Permanently added 'gitlab.com' (ECDSA) to the list of known hosts.