BigW Consortium Gitlab

ssh.html.haml 606 Bytes
Newer Older
1 2 3 4 5 6 7
%h3.page_title SSH Keys
.back_link
  = link_to help_path do
    ← to index
%hr

%p.slead
8
  SSH key allows you to establish a secure connection between your computer and GitLab
9 10 11 12 13 14 15 16 17 18 19

%p.slead
  To generate a new SSH key just open your terminal and use code below.

%pre.dark
  ssh-keygen -t rsa -C "#{current_user.email}"

  \# Creates a new ssh key using the provided email
  \# Generating public/private rsa key pair...

%p.slead
20
  Next just use code below to dump your public key and add to GitLab SSH Keys
21 22 23 24 25

%pre.dark
  cat ~/.ssh/id_rsa.pub

  \# ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6eNtGpNGwstc....