Help with index

This commit is contained in:
Dmitriy Zaporozhets 2013-01-22 17:58:09 +02:00
parent 69ec189ad2
commit 2be107d0d9
11 changed files with 444 additions and 426 deletions

View file

@ -1,25 +1,23 @@
%h3.page_title SSH Keys
.back_link
= link_to help_path do
← to index
%hr
= render layout: 'help/layout' do
%h3.page_title SSH Keys
%br
%p.slead
SSH key allows you to establish a secure connection between your computer and GitLab
%p.slead
SSH key allows you to establish a secure connection between your computer and GitLab
%p.slead
To generate a new SSH key just open your terminal and use code below.
%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}"
%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...
\# Creates a new ssh key using the provided email
\# Generating public/private rsa key pair...
%p.slead
Next just use code below to dump your public key and add to GitLab SSH Keys
%p.slead
Next just use code below to dump your public key and add to GitLab SSH Keys
%pre.dark
cat ~/.ssh/id_rsa.pub
%pre.dark
cat ~/.ssh/id_rsa.pub
\# ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6eNtGpNGwstc....
\# ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6eNtGpNGwstc....