0% found this document useful (0 votes)
50 views2 pages

Step 1: Generate The SSH Key

This document provides a 3-step guide to configure SSH keys in Gitlab: 1) Generate an SSH key on your local machine using ssh-keygen. 2) Copy the public key. 3) Login to Gitlab, go to preferences, click SSH keys, paste the public key, and add it. Once added, you can clone and push repositories using the SSH URL.

Uploaded by

Barnali Dey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views2 pages

Step 1: Generate The SSH Key

This document provides a 3-step guide to configure SSH keys in Gitlab: 1) Generate an SSH key on your local machine using ssh-keygen. 2) Copy the public key. 3) Login to Gitlab, go to preferences, click SSH keys, paste the public key, and add it. Once added, you can clone and push repositories using the SSH URL.

Uploaded by

Barnali Dey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Guide: SSH Key Configuration in Gitlab

This document will guide you to configure the ssh keys in your Gitlab instance. After this setup you
will be able to clone/push repos to Gitlab.

Step 1: Generate the ssh key

Open a powershell(windows)/Terminal(Linux) window and enter the following command

ssh-keygen
• Select the default options by pressing Enter, until the key is generated.
• Note the location of the generated public key

• Open the generated public key using notepad or any text editor.
• Copy the whole key from the file
Step 2: Add the ssh key in Gitlab
• Login to Gitlab instance: https://gitlab-wipro.stackroute.in/
• Enter the userId and password given to you for LMS
• Click the Account icon to get a dropdown and select “preferences” – see image

• Click the SSH keys link and paste the ‘ssh key’ copied in step 1
• Give a meaningful title and click on “Add Key”

The SSH key configuration is complete. You can now clone and push repos using the ssh url shown

You might also like