{"id":2709,"date":"2020-02-04T17:19:22","date_gmt":"2020-02-04T17:19:22","guid":{"rendered":"https:\/\/lamp.ciscoar.com\/?page_id=2709"},"modified":"2020-02-08T18:34:16","modified_gmt":"2020-02-08T18:34:16","slug":"ssh-key-generation-putty","status":"publish","type":"page","link":"https:\/\/lamp.ciscoar.com\/?page_id=2709","title":{"rendered":"SSH key generation Putty"},"content":{"rendered":"\n\n\n<h2 class=\"wp-block-heading\">Why Putty?<\/h2>\n\n\n\n<p>We&#8217;ve already learnt how to generate the pair of SSH keys on <a href=\"\/ssh-key-generation-securecrt\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"SecureCRT (opens in a new tab)\">SecureCRT<\/a>, now it is the turn of Putty, even though we don&#8217;t use it on our articles I understand it actually is the most commonly used terminal emulator.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Putty vs Puttygen<\/h2>\n\n\n\n<p>I don&#8217;t think I have to explain what is Putty, instead I&#8217;m going to talk about its closest cousin &#8220;puttygen&#8221;, a separate piece of software used to generate SSH keys on Windows systems.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Where to download Puttygen?<\/h2>\n\n\n\n<p>Puttygen is also available for free and it can be downloaded from the same website you can download &#8220;Putty&#8221;, scroll down through the page until you see the two versions, 32 and 64bit, the one to be chosen depends on your OS.<\/p>\n\n\n\n<p> <a href=\"https:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/latest.html\">https:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/latest.html<\/a> <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/download-puttygen.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/download-puttygen.jpg\" alt=\"\" class=\"wp-image-2717\" width=\"689\" height=\"174\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/download-puttygen.jpg 689w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/download-puttygen-300x76.jpg 300w\" sizes=\"auto, (max-width: 689px) 100vw, 689px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>The image below shows the puttygen executable saved into a computer&#8217;s folder.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/puttygen-executable.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/puttygen-executable.jpg\" alt=\"\" class=\"wp-image-2732\" width=\"787\" height=\"245\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/puttygen-executable.jpg 1049w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/puttygen-executable-300x94.jpg 300w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/puttygen-executable-1024x319.jpg 1024w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/puttygen-executable-768x239.jpg 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">How to generate SSH Keys with Puttygen<\/h2>\n\n\n\n<p>The follow animation shows how easy is to generate the pair of SSH keys using the tool &#8220;puttygen&#8221;.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"924\" height=\"636\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/generating-ssh-pub-and-priv-keys-with-puttygen.gif\" alt=\"\" class=\"wp-image-2728\"\/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">How to save SSH keys<\/h2>\n\n\n\n<p>Once the generation process is done and the passphrase was completed you can save both SSH keys in your computer making sure you remember where they have been saved to be able to come back later to make use of them at the moment of the creation of a new SSH session, where you want to authenticate using SSH keys.<\/p>\n\n\n\n<figure class=\"wp-block-video aligncenter\"><video height=\"636\" style=\"aspect-ratio: 924 \/ 636;\" width=\"924\" controls src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/saving-ssh-keys-puttygen.mp4\"><\/video><figcaption>Saving SSH keys <\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">SSH keys have been generated<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/ssh-keys-saved.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/ssh-keys-saved-1024x300.jpg\" alt=\"\" class=\"wp-image-2742\" width=\"768\" height=\"225\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/ssh-keys-saved-1024x300.jpg 1024w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/ssh-keys-saved-300x88.jpg 300w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/ssh-keys-saved-768x225.jpg 768w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/ssh-keys-saved.jpg 1027w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><figcaption>SSH keys generated with puttygen and saved into a folder<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Where to go next?<\/h2>\n\n\n\n<p>Now that you have the SSH keys it\u2019s time to start using them, in order to achieve that goal you must complete the following two steps, only once, only the first time, after that you can just open the session as usual and after entering the \u201cpassphrase\u201d you\u2019ll logged into your remote device in no time.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"\/copy-ssh-public-key-to-remote-server\/\">How to copy the Public SSH key to the remote computer\/server<\/a><\/li><li><a href=\"\/map-ssh-private-key-on-putty\/\">How to map the Private SSH Key on an new Putty session<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Why Putty? We&#8217;ve already learnt how to generate the pair of SSH keys on SecureCRT, now it is the turn of Putty, even though we don&#8217;t use it on our articles I understand it actually is the most commonly used terminal emulator. Putty vs Puttygen I don&#8217;t think I have to explain what is Putty, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/lamp.ciscoar.com\/?page_id=2709\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;SSH key generation Putty&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2709","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/2709","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2709"}],"version-history":[{"count":26,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/2709\/revisions"}],"predecessor-version":[{"id":3148,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/2709\/revisions\/3148"}],"wp:attachment":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}