summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannes Rosenögger <123haynes@gmail.com>2016-07-04 15:55:52 +0000
committerHannes Rosenögger <123haynes@gmail.com>2016-07-04 15:55:52 +0000
commit25c66be492dc83cd1b51212007b1a17d1903ae1d (patch)
tree76dd8c8551aedbfd6800a7d794bc5734f43d738d
parent1a36493d134328fa5b9ac3d3a04e43e72bdf67bb (diff)
parent1209391f9b5c9cd4c00d8986eba44c7c60e92c16 (diff)
downloadgitlab-ce-25c66be492dc83cd1b51212007b1a17d1903ae1d.tar.gz
Merge branch 'patch-1' into 'master'
Update README.md - SSH password can be changed with `ssh-keygen -p` SSH password can be changed with `ssh-keygen -p` See merge request !4152
-rw-r--r--doc/ssh/README.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/ssh/README.md b/doc/ssh/README.md
index a1198e5878f..d6a0979f6ec 100644
--- a/doc/ssh/README.md
+++ b/doc/ssh/README.md
@@ -17,10 +17,6 @@ cat ~/.ssh/id_rsa.pub
If you see a long string starting with `ssh-rsa`, you can skip the `ssh-keygen` step.
-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 command:
```bash
ssh-keygen -t rsa -C "$your_email"
@@ -30,6 +26,12 @@ pair and for a password. When prompted for the location and filename, just
press enter to use the default. If you use a different name, the key will not
be used automatically.
+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.
+
+If you want to change the password of your key later, you can use the following
+command: `ssh-keygen -p <keyname>`
+
Use the command below to show your public key:
**Windows Command Line:**