Skip to content
Snippets Groups Projects
Commit 1209391f authored by Caesar Schinas's avatar Caesar Schinas
Browse files

Add note on changing password of SSH key

parent 09e0c1fa
Branches
Tags
1 merge request!4152Update README.md - SSH password can be changed with `ssh-keygen -p`
Loading
Loading
@@ -17,9 +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.
To generate a new SSH key, use the following command:
```bash
ssh-keygen -t rsa -C "$your_email"
Loading
Loading
@@ -29,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:**
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment