Welcome to mirror list, hosted at ThFree Co, Russian Federation.

create-your-ssh-keys.md « gitlab-basics « doc - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: da7853d7d34eec09ed0a33ee988929085dd11ae5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# How to create your SSH Keys

1. Go to your [command line](start-using-git.md) and follow the [instructions](../ssh/README.md) to generate your SSH key pair.

1. Log in to GitLab with your credentials.
1. In the upper-right corner, click your avatar and then click **Settings**.

    ![Profile settings dropdown](img/profile_settings.png)

1. Navigate to the **SSH keys** tab.

    ![SSH Keys](img/profile_settings_ssh_keys.png)

1. Paste your **public** key that you generated in the first step in the 'Key'
   box.

    ![Paste SSH public key](img/profile_settings_ssh_keys_paste_pub.png)

1. Optionally, give it a descriptive title so that you can recognize it in the
   event you add multiple keys.

    ![SSH key title](img/profile_settings_ssh_keys_title.png)

1. Finally, click **Add key** to add it to GitLab. You will be able to see
   its fingerprint, title, and creation date.

    ![SSH key single page](img/profile_settings_ssh_keys_single_key.png)

>**Note:**
Once you add a key, you cannot edit it, only remove it. In case the paste
didn't work, you will have to remove the offending key and re-add it.

---

Congratulations! You are now ready to use Git over SSH, instead of Git over HTTP!