Commit c5370439 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs/fix-settings-procedures' into 'master'

Fix some procedures with misleading instructions

Closes #58355 and #58853

See merge request gitlab-org/gitlab-ce!26148
parents 45a4bc30 8756700e
# How to create your SSH Keys # 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. This topic describes how to create SSH keys. You do this to use Git over SSH instead of Git over HTTP.
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) ## Creating 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.
1. In the upper-right corner, click your avatar and select **Settings**.
1. On the **User Settings** menu, select **SSH keys**.
1. Paste the **public** key generated in the first step in the **Key**
text field.
1. Optionally, give it a descriptive title so that you can recognize it in the 1. Optionally, give it a descriptive title so that you can recognize it in the
event you add multiple keys. event you add multiple keys.
1. Finally, click the **Add key** button to add it to GitLab. You will be able to see
![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. its fingerprint, title, and creation date.
![SSH key single page](img/profile_settings_ssh_keys_single_key.png) ![SSH key single page](img/profile_settings_ssh_keys_single_key.png)
>**Note:** NOTE: **Note:**
Once you add a key, you cannot edit it, only remove it. In case the paste Once you add a key, you cannot edit it. If the paste
didn't work, you will have to remove the offending key and re-add it. didn't work, you need to remove the offending key and re-add it.
---
Congratulations! You are now ready to use Git over SSH, instead of Git over HTTP!
...@@ -20,21 +20,19 @@ at midnight UTC. ...@@ -20,21 +20,19 @@ at midnight UTC.
You can create as many personal access tokens as you like from your GitLab You can create as many personal access tokens as you like from your GitLab
profile. profile.
1. Log in to your GitLab account. 1. Log in to GitLab.
1. Go to your **Profile settings**. 1. In the upper-right corner, click your avatar and select **Settings**.
1. Go to **Access tokens**. 1. On the **User Settings** menu, select **Access Tokens**.
1. Choose a name and optionally an expiry date for the token. 1. Choose a name and optional expiry date for the token.
1. Choose the [desired scopes](#limiting-scopes-of-a-personal-access-token). 1. Choose the [desired scopes](#limiting-scopes-of-a-personal-access-token).
1. Click on **Create personal access token**. 1. Click the **Create personal access token** button.
1. Save the personal access token somewhere safe. Once you leave or refresh 1. Save the personal access token somewhere safe. Once you leave or refresh
the page, you won't be able to access it again. the page, you won't be able to access it again.
![Personal access tokens page](img/personal_access_tokens.png) ### Revoking a personal access token
## Revoking a personal access token At any time, you can revoke any personal access token by clicking the
respective **Revoke** button under the **Active Personal Access Token** area.
At any time, you can revoke any personal access token by just clicking the
respective **Revoke** button under the 'Active personal access tokens' area.
## Limiting scopes of a personal access token ## Limiting scopes of a personal access token
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment