Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I add an SSH key in gitlab?

Here is what my dashboard looks like:

enter image description here

Not really sure where to add an SSH key. Anyone have any idea?

like image 771
a53-416 Avatar asked Mar 09 '16 20:03

a53-416


People also ask

How create SSH key and add to GitLab?

Log into GitLab and click on your account preferences. Click the SSH Keys link and paste the copied value into the text field. Set an expiration date, and then click the blue button to persistently add the GitLab SSH key. Configure GitLab SSH keys under your account preferences.

How do I add an SSH key?

Click the Add Key button to open the Select Private Key File dialog. Navigate to the private key file you saved in Step 1 and click Open. Enter the passphrase for your SSH key and click OK. Pageant shows your key in the running list.

Where do I put my SSH key?

SSH keys are typically configured in an authorized_keys file in . ssh subdirectory in the user's home directory. Typically a system administrator would first create a key using ssh-keygen and then install it as an authorized key on a server using the ssh-copy-id tool.


1 Answers

  1. You need to sign in. Green button top right.
  2. Click 'profile settings' on the left side menu.
  3. Click SSH Keys and follow the instructions on the page.
like image 193
Oli Avatar answered Sep 18 '22 13:09

Oli