Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
8756700e
Commit
8756700e
authored
Mar 14, 2019
by
Evan Read
Committed by
Achilleas Pipinellis
Mar 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some procedures with misleading instructions
parent
45a4bc30
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
21 additions
and
36 deletions
+21
-36
doc/gitlab-basics/create-your-ssh-keys.md
doc/gitlab-basics/create-your-ssh-keys.md
+13
-26
doc/gitlab-basics/img/profile_settings.png
doc/gitlab-basics/img/profile_settings.png
+0
-0
doc/gitlab-basics/img/profile_settings_ssh_keys.png
doc/gitlab-basics/img/profile_settings_ssh_keys.png
+0
-0
doc/gitlab-basics/img/profile_settings_ssh_keys_paste_pub.png
...gitlab-basics/img/profile_settings_ssh_keys_paste_pub.png
+0
-0
doc/gitlab-basics/img/profile_settings_ssh_keys_title.png
doc/gitlab-basics/img/profile_settings_ssh_keys_title.png
+0
-0
doc/user/profile/img/personal_access_tokens.png
doc/user/profile/img/personal_access_tokens.png
+0
-0
doc/user/profile/personal_access_tokens.md
doc/user/profile/personal_access_tokens.md
+8
-10
No files found.
doc/gitlab-basics/create-your-ssh-keys.md
View file @
8756700e
# How to create your SSH
K
eys
# How to create your SSH
k
eys
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.
This topic describes how to create SSH keys. You do this to use Git over SSH instead of Git over HTTP.
![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
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
1.
Finally, click the
**Add key**
button 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!
NOTE:
**Note:**
Once you add a key, you cannot edit it. If the paste
didn't work, you need to remove the offending key and re-add it.
doc/gitlab-basics/img/profile_settings.png
deleted
100644 → 0
View file @
45a4bc30
2.78 KB
doc/gitlab-basics/img/profile_settings_ssh_keys.png
deleted
100644 → 0
View file @
45a4bc30
16.1 KB
doc/gitlab-basics/img/profile_settings_ssh_keys_paste_pub.png
deleted
100644 → 0
View file @
45a4bc30
13.1 KB
doc/gitlab-basics/img/profile_settings_ssh_keys_title.png
deleted
100644 → 0
View file @
45a4bc30
1.82 KB
doc/user/profile/img/personal_access_tokens.png
deleted
100644 → 0
View file @
45a4bc30
18.1 KB
doc/user/profile/personal_access_tokens.md
View file @
8756700e
...
...
@@ -20,21 +20,19 @@ at midnight UTC.
You can create as many personal access tokens as you like from your GitLab
profile.
1.
Log in to
your GitLab account
.
1.
Go to your
**Profile s
ettings**
.
1.
Go to
**Access t
okens**
.
1.
Choose a name and optional
ly an
expiry date for the token.
1.
Log in to
GitLab
.
1.
In the upper-right corner, click your avatar and select
**S
ettings**
.
1.
On the
**User Settings**
menu, select
**Access T
okens**
.
1.
Choose a name and optional expiry date for the 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
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 just clicking the
respective
**Revoke**
button under the 'Active personal access tokens' area.
At any time, you can revoke any personal access token by clicking the
respective
**Revoke**
button under the
**Active Personal Access Token**
area.
## Limiting scopes of a personal access token
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment