2013-01-22 10:58:09 -05:00
|
|
|
= render layout: 'help/layout' do
|
2013-07-13 01:45:48 -04:00
|
|
|
%h3.page-title SSH Keys
|
2012-08-21 20:56:53 -04:00
|
|
|
|
2013-01-22 10:58:09 -05:00
|
|
|
%p.slead
|
|
|
|
SSH key allows you to establish a secure connection between your computer and GitLab
|
2012-08-21 20:56:53 -04:00
|
|
|
|
2013-01-22 10:58:09 -05:00
|
|
|
%p.slead
|
2013-12-09 03:02:35 -05:00
|
|
|
To generate a new SSH key just open your terminal and use code below. Press enter to accept the defaults when generating the key.
|
2012-08-21 20:56:53 -04:00
|
|
|
|
2013-01-22 10:58:09 -05:00
|
|
|
%pre.dark
|
|
|
|
ssh-keygen -t rsa -C "#{current_user.email}"
|
2012-08-21 20:56:53 -04:00
|
|
|
|
2013-01-22 10:58:09 -05:00
|
|
|
%p.slead
|
|
|
|
Next just use code below to dump your public key and add to GitLab SSH Keys
|
2012-08-21 20:56:53 -04:00
|
|
|
|
2013-01-22 10:58:09 -05:00
|
|
|
%pre.dark
|
|
|
|
cat ~/.ssh/id_rsa.pub
|