summaryrefslogtreecommitdiff
path: root/doc/ssh
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <mail@zjvandeweg.nl>2015-12-07 12:06:20 +0100
committerZeger-Jan van de Weg <mail@zjvandeweg.nl>2015-12-07 12:06:20 +0100
commit3da32ef7d84f5800434379520878fe5c186b9e39 (patch)
tree3095a89ae3a75fca29f3be1b5d2a3d41824a81e1 /doc/ssh
parent113325a9e02b06d9cef82b913e2ab6f33331371b (diff)
parent234f4bf20fb338f2164976fd39203fbc671afd29 (diff)
downloadgitlab-ce-3da32ef7d84f5800434379520878fe5c186b9e39.tar.gz
Merge branch 'master' into rake-tasks-git
Diffstat (limited to 'doc/ssh')
-rw-r--r--doc/ssh/README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/ssh/README.md b/doc/ssh/README.md
index 9753504ac8b..fe5b45dd432 100644
--- a/doc/ssh/README.md
+++ b/doc/ssh/README.md
@@ -15,7 +15,8 @@ Note: It is a best practice to use a password for an SSH key, but it is not
required and you can skip creating a password by pressing enter. Note that
the password you choose here can't be altered or retrieved.
-To generate a new SSH key, use the following commandGitLab```bash
+To generate a new SSH key, use the following command:
+```bash
ssh-keygen -t rsa -C "$your_email"
```
This command will prompt you for a location and filename to store the key
@@ -108,4 +109,4 @@ Note in the gitlab.com example above a username was specified to override the de
Due to the wide variety of SSH clients and their very large number of configuration options, further explanation of these topics is beyond the scope of this document.
Public SSH keys need to be unique, as they will bind to your account. Your SSH key is the only identifier you'll
-have when pushing code via SSH. That's why it needs to uniquely map to a single user.
+have when pushing code via SSH. That's why it needs to uniquely map to a single user. \ No newline at end of file