Commit 25c66be4 authored by Hannes Rosenögger's avatar Hannes Rosenögger

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
parents 1a36493d 1209391f
...@@ -17,10 +17,6 @@ cat ~/.ssh/id_rsa.pub ...@@ -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. 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: To generate a new SSH key, use the following command:
```bash ```bash
ssh-keygen -t rsa -C "$your_email" ssh-keygen -t rsa -C "$your_email"
...@@ -30,6 +26,12 @@ pair and for a password. When prompted for the location and filename, just ...@@ -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 press enter to use the default. If you use a different name, the key will not
be used automatically. 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: Use the command below to show your public key:
**Windows Command Line:** **Windows Command Line:**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment