gitlab-org--gitlab-foss/doc/gitlab-basics/create-your-ssh-keys.md

38 lines
1.3 KiB
Markdown
Raw Normal View History

# How to create your SSH Keys
2015-06-22 16:00:38 +00:00
You need to connect your computer to your GitLab account through SSH Keys. They are unique for every computer that you link your GitLab account with.
## Generate your SSH Key
* Create an account on GitLab. Sign up and check your email for your confirmation link
2015-07-02 03:23:31 +00:00
* After you confirm, go to [GitLab.com](https://about.gitlab.com/) and sign in to your account
## Add your SSH Key
* At the top right corner, click on "profile settings"
2015-06-22 16:00:38 +00:00
![profile settings](basicsimages/profile_settings.png)
* On the left side menu click on "SSH Keys"
2015-06-22 16:00:38 +00:00
![SSH Keys](basicsimages/shh_keys.png)
* Then click on the green button "Add SSH Key"
2015-06-22 16:00:38 +00:00
![Add SSH Key](basicsimages/add_sshkey.png)
* There, you should paste the SSH Key that your commandline will generate for you. Below you'll find the steps to generate it
2015-06-22 16:00:38 +00:00
![Paste SSH Key](basicsimages/paste_sshkey.png)
## To generate an SSH Key on your commandline
2015-07-07 06:15:03 +00:00
* Go to your [commandline](start-using-git.md) and follow the [instructions](../ssh/README.md) to generate it
2015-06-22 16:00:38 +00:00
* Copy the SSH Key that your commandline created and paste it on the "Key" box on the GitLab page. The title will be added automatically
2015-06-22 16:00:38 +00:00
![Paste SSH Key](basicsimages/key.png)
2015-06-23 18:27:08 +00:00
* Now, you'll be able to use Git over SSH, instead of Git over HTTP.