gitlab-org--gitlab-foss/doc/gitlab-basics/create-your-ssh-keys.md
2015-07-06 23:15:03 -07:00

1.3 KiB

How to create your SSH Keys

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

  • After you confirm, go to GitLab.com and sign in to your account

Add your SSH Key

  • At the top right corner, click on "profile settings"

profile settings

  • On the left side menu click on "SSH Keys"

SSH Keys

  • Then click on the green button "Add SSH Key"

Add SSH Key

  • There, you should paste the SSH Key that your commandline will generate for you. Below you'll find the steps to generate it

Paste SSH Key

To generate an SSH Key on your commandline

  • Go to your commandline and follow the instructions to generate it

  • 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

Paste SSH Key

  • Now, you'll be able to use Git over SSH, instead of Git over HTTP.