From 09e0c1faec52876196c69b47a39fae59be437dcc Mon Sep 17 00:00:00 2001 From: Caesar Schinas Date: Sat, 14 May 2016 16:32:52 +0000 Subject: [PATCH 1/2] Update README.md - SSH password can be changed with `ssh-keygen -p` --- doc/ssh/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/ssh/README.md b/doc/ssh/README.md index a1198e5878f..e011330bffb 100644 --- a/doc/ssh/README.md +++ b/doc/ssh/README.md @@ -18,8 +18,7 @@ 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. +required and you can skip creating a password by pressing enter. To generate a new SSH key, use the following command: ```bash From 1209391f9b5c9cd4c00d8986eba44c7c60e92c16 Mon Sep 17 00:00:00 2001 From: Caesar Schinas Date: Wed, 25 May 2016 03:42:22 +0000 Subject: [PATCH 2/2] Add note on changing password of SSH key --- doc/ssh/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/ssh/README.md b/doc/ssh/README.md index e011330bffb..d6a0979f6ec 100644 --- a/doc/ssh/README.md +++ b/doc/ssh/README.md @@ -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" @@ -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 ` + Use the command below to show your public key: **Windows Command Line:**