From e2b29e42c707b6091d9697741c3457e70fa6367c Mon Sep 17 00:00:00 2001 From: Faruq Luqman Date: Thu, 17 Dec 2020 22:39:35 +0800 Subject: [PATCH 1/5] Update working-with-ssh-key-passphrases.md This is a follow-up on https://github.com/github/docs/issues/876#issue-731279207 to address another article affected. Changes proposed are to align with the article "Generating a new SSH key and adding it to the ssh-agent". --- .../working-with-ssh-key-passphrases.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md b/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md index 899f0ce2b7e8..d5703ef17f4b 100644 --- a/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md +++ b/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md @@ -18,10 +18,10 @@ With SSH keys, if someone gains access to your computer, they also gain access t You can change the passphrase for an existing private key without regenerating the keypair by typing the following command: ```shell -$ ssh-keygen -p +$ ssh-keygen -p -f /home/you/.ssh/id_ed25519 # Start the SSH key creation process -> Enter file in which the key is (/Users/you/.ssh/id_rsa): [Hit enter] -> Key has comment '/Users/you/.ssh/id_rsa' +> Enter file in which the key is (/home/you/.ssh/id_ed25519): [Hit enter] +> Key has comment 'your_email@example.com' > Enter new passphrase (empty for no passphrase): [Type new passphrase] > Enter same passphrase again: [One more time for luck] > Your identification has been saved with the new passphrase. From b2beb6835609e95129323b8c629ffde756342d36 Mon Sep 17 00:00:00 2001 From: hubwriter Date: Thu, 14 Jan 2021 09:03:26 +0000 Subject: [PATCH 2/5] Update content/github/authenticating-to-github/working-with-ssh-key-passphrases.md --- .../working-with-ssh-key-passphrases.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md b/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md index d5703ef17f4b..faa7383dcbec 100644 --- a/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md +++ b/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md @@ -18,7 +18,7 @@ With SSH keys, if someone gains access to your computer, they also gain access t You can change the passphrase for an existing private key without regenerating the keypair by typing the following command: ```shell -$ ssh-keygen -p -f /home/you/.ssh/id_ed25519 +$ ssh-keygen -p -f ~/.ssh/id_ed25519 # Start the SSH key creation process > Enter file in which the key is (/home/you/.ssh/id_ed25519): [Hit enter] > Key has comment 'your_email@example.com' From a4ca550ce39dd9d54962b88256dbd05d1dcfb1f5 Mon Sep 17 00:00:00 2001 From: hubwriter Date: Thu, 14 Jan 2021 09:22:47 +0000 Subject: [PATCH 3/5] Update content/github/authenticating-to-github/working-with-ssh-key-passphrases.md --- .../authenticating-to-github/working-with-ssh-key-passphrases.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md b/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md index faa7383dcbec..4f8e45fc24d6 100644 --- a/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md +++ b/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md @@ -19,7 +19,6 @@ You can change the passphrase for an existing private key without regenerating t ```shell $ ssh-keygen -p -f ~/.ssh/id_ed25519 -# Start the SSH key creation process > Enter file in which the key is (/home/you/.ssh/id_ed25519): [Hit enter] > Key has comment 'your_email@example.com' > Enter new passphrase (empty for no passphrase): [Type new passphrase] From 7df31e785512464811a5ef0ac083a17fe6008d74 Mon Sep 17 00:00:00 2001 From: hubwriter Date: Thu, 14 Jan 2021 09:22:54 +0000 Subject: [PATCH 4/5] Update content/github/authenticating-to-github/working-with-ssh-key-passphrases.md --- .../working-with-ssh-key-passphrases.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md b/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md index 4f8e45fc24d6..baaae611e935 100644 --- a/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md +++ b/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md @@ -19,7 +19,7 @@ You can change the passphrase for an existing private key without regenerating t ```shell $ ssh-keygen -p -f ~/.ssh/id_ed25519 -> Enter file in which the key is (/home/you/.ssh/id_ed25519): [Hit enter] +> Enter old passphrase: [Type old passphrase] > Key has comment 'your_email@example.com' > Enter new passphrase (empty for no passphrase): [Type new passphrase] > Enter same passphrase again: [One more time for luck] From c8bc1a24e3e5207f49fd0253a3ca71af6dbf68e4 Mon Sep 17 00:00:00 2001 From: hubwriter Date: Thu, 14 Jan 2021 09:23:01 +0000 Subject: [PATCH 5/5] Update content/github/authenticating-to-github/working-with-ssh-key-passphrases.md --- .../working-with-ssh-key-passphrases.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md b/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md index baaae611e935..81917a1cc175 100644 --- a/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md +++ b/content/github/authenticating-to-github/working-with-ssh-key-passphrases.md @@ -22,7 +22,7 @@ $ ssh-keygen -p -f ~/.ssh/id_ed25519 > Enter old passphrase: [Type old passphrase] > Key has comment 'your_email@example.com' > Enter new passphrase (empty for no passphrase): [Type new passphrase] -> Enter same passphrase again: [One more time for luck] +> Enter same passphrase again: [Repeat the new passphrase] > Your identification has been saved with the new passphrase. ```