From 3b44d28a6b0423cf2c4c3415b9f958346773b7dc Mon Sep 17 00:00:00 2001 From: allysoneduardoMKW Date: Wed, 20 Jul 2022 09:06:05 -0300 Subject: [PATCH 1/2] Add generation of custom-named SSH Keys for 'Authentication' section --- ...rating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md b/content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md index 7e1a11e52be3..0c2fb12e78e1 100644 --- a/content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md +++ b/content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md @@ -51,12 +51,12 @@ If you don't want to reenter your passphrase every time you use your SSH key, yo ```shell > Generating public/private algorithm key pair. ``` -3. When you're prompted to "Enter a file in which to save the key," press Enter. This accepts the default file location. +3. When you're prompted to "Enter a file in which to save the key", you can press "Enter" to accept the default file location, but if you already created SSH Keys previously, ssh-keygen may ask you to rewrite another key, so it's advisable to create a custom-named SSH key. For this, you type the default file location, except that "id_ssh_keyname" will be the name you choose. {% mac %} ```shell - > Enter a file in which to save the key (/Users/you/.ssh/id_algorithm): [Press enter] + > Enter a file in which to save the key (/Users/you/.ssh/id_algorithm): /Users/you/.ssh/id_ssh_keyname ``` {% endmac %} @@ -64,7 +64,7 @@ If you don't want to reenter your passphrase every time you use your SSH key, yo {% windows %} ```shell - > Enter a file in which to save the key (/c/Users/you/.ssh/id_algorithm):[Press enter] + > Enter a file in which to save the key (/c/Users/you/.ssh/id_algorithm):/c/Users/you/.ssh/id_ssh_keyname) ``` {% endwindows %} @@ -72,7 +72,7 @@ If you don't want to reenter your passphrase every time you use your SSH key, yo {% linux %} ```shell - > Enter a file in which to save the key (/home/you/.ssh/algorithm): [Press enter] + > Enter a file in which to save the key (/home/you/.ssh/algorithm): /home/you/.ssh/ssh_keyname ``` {% endlinux %} From a950f124eae5f03cebbac48e7514acd0cc5f90ab Mon Sep 17 00:00:00 2001 From: Rachael Rose Renk Date: Mon, 10 Oct 2022 12:30:38 -0600 Subject: [PATCH 2/2] Update generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md --- .../generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md b/content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md index 0c2fb12e78e1..0b5b4247689a 100644 --- a/content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md +++ b/content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md @@ -51,7 +51,7 @@ If you don't want to reenter your passphrase every time you use your SSH key, yo ```shell > Generating public/private algorithm key pair. ``` -3. When you're prompted to "Enter a file in which to save the key", you can press "Enter" to accept the default file location, but if you already created SSH Keys previously, ssh-keygen may ask you to rewrite another key, so it's advisable to create a custom-named SSH key. For this, you type the default file location, except that "id_ssh_keyname" will be the name you choose. +3. When you're prompted to "Enter a file in which to save the key", you can press **Enter** to accept the default file location. Please note that if you created SSH keys previously, ssh-keygen may ask you to rewrite another key, in which case we recommend creating a custom-named SSH key. To do so, type the default file location and replace id_ssh_keyname with your custom key name. {% mac %}