gitlab-org--gitlab-foss/doc/gitlab-basics/create-your-ssh-keys.md
Marcel Amirault 7f18248aa6 First pass to bring /gitlab-basics to SSoT standards
Removes duplicated information, and combines sections and files
together when they are duplicated or highly related. Also adds
intros to all pages and sections missing intros, and troubleshooting
sections to pages that may need them in the future. Links more to
other docs, and clarifies language when abosolutely necessary, and
adds angle brackets to sample parameters.
2019-07-30 05:02:59 +00:00

1,011 B

type
howto

Create and add your SSH public key

It is best practice to use Git over SSH instead of Git over HTTP. In order to use SSH, you will need to

  1. Create an SSH key pair on your local computer.
  2. Add the 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: Note: Once you add a key, you cannot edit it. If it didn't paste properly, it will not work, and you will need to remove the key from GitLab and try adding it again.