| ... | @@ -81,9 +81,15 @@ Open the public key (file `.ssh/id_rsa.pub`) in an editor... |
... | @@ -81,9 +81,15 @@ Open the public key (file `.ssh/id_rsa.pub`) in an editor... |
|
|
|
|
|
|
|
...and copy/paste its contents to the box in the SSH keys of the gitlab website.
|
|
...and copy/paste its contents to the box in the SSH keys of the gitlab website.
|
|
|
|
|
|
|
|
|
On Linux, this can be done by displaying the public key in the terminal:
|
|
|
|
```
|
|
|
|
cat ~/.ssh/id_rsa.pub
|
|
|
|
```
|
|
|
|
then selecting it with the mouse and using the middle mouse button to paste it in the GitLab box.
|
|
|
|
|
|
|

|
|

|
|
|
|
|
|
|
|
Then click on the "Add" button.
|
|
Then click on the "Add" button on the GitLab page.
|
|
|
|
|
|
|
|
You can test that you are able to connect to GitLab with the following command in a terminal (check that you target `gitlab.uliege.be` instead of `gitlab.com` in the instructions from GitLab!):
|
|
You can test that you are able to connect to GitLab with the following command in a terminal (check that you target `gitlab.uliege.be` instead of `gitlab.com` in the instructions from GitLab!):
|
|
|
```
|
|
```
|
| ... | |
... | |
| ... | | ... | |