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
This commit is contained in:
Hannes Rosenögger 2016-07-04 15:55:52 +00:00
commit 25c66be492
1 changed files with 6 additions and 4 deletions

View File

@ -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:**