gitlab-org--gitlab-foss/doc/gitlab-basics/create-your-ssh-keys.md
Evan Read dfbe144e43 Refactor GitLab basics ssh keys docs
Ensures we give instructions for how to create ssh keys
in a single place only.
2019-05-29 14:33:32 +00:00

852 B

Create and add your SSH public key

This topic describes how to:

  • Create an SSH key pair to use with GitLab.
  • Add the SSH public key to your GitLab account.

You do this to use Git over SSH instead of Git over HTTP.

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 the paste didn't work, you need to remove the key and re-add it.