debian-mirror-gitlab/doc/gitlab-basics/create-your-ssh-keys.md
2021-02-22 17:27:13 +05:30

1.1 KiB

stage group info type
Create Source Code To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments howto

Create and add your SSH key pair

It's best practice to use Git over SSH instead of Git over HTTP. In order to use SSH, you need to:

  1. Create an SSH key pair
  2. Add your SSH public key to GitLab

Creating your SSH key pair

  1. Go to your command line.
  2. Follow the instructions to generate your SSH key pair.

Adding your SSH public key to GitLab

To add the SSH public key to GitLab, see Adding an SSH key to your GitLab account.

NOTE: Once you add a key, you can't edit it. If it did not paste properly, it will not work, and you need to remove the key from GitLab and try adding it again.