diff options
author | Hannes Rosenögger <123haynes@gmail.com> | 2016-07-04 15:55:52 +0000 |
---|---|---|
committer | Hannes Rosenögger <123haynes@gmail.com> | 2016-07-04 15:55:52 +0000 |
commit | 25c66be492dc83cd1b51212007b1a17d1903ae1d (patch) | |
tree | 76dd8c8551aedbfd6800a7d794bc5734f43d738d | |
parent | 1a36493d134328fa5b9ac3d3a04e43e72bdf67bb (diff) | |
parent | 1209391f9b5c9cd4c00d8986eba44c7c60e92c16 (diff) | |
download | gitlab-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.md | 10 |
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:** |