{"id":226,"date":"2018-04-03T10:14:31","date_gmt":"2018-04-02T22:14:31","guid":{"rendered":"https:\/\/content.ronella.xyz\/apps\/wordpress\/?p=226"},"modified":"2018-04-03T10:15:45","modified_gmt":"2018-04-02T22:15:45","slug":"generating-putty-ssh-key-pair","status":"publish","type":"post","link":"https:\/\/www.ronella.xyz\/?p=226","title":{"rendered":"Generating Putty SSH Key Pair"},"content":{"rendered":"<ol style=\"margin-left: .375in; direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in; font-family: Calibri; font-size: 11.0pt; font-weight: normal; font-style: normal;\" type=\"1\">\n<li style=\"margin-top: 0; margin-bottom: 0; vertical-align: middle;\" value=\"1\"><span style=\"font-family: Calibri; font-size: 11.0pt; font-weight: normal; font-style: normal;\">Run the <\/span><span style=\"font-family: Calibri; font-size: 11.0pt; font-weight: bold; font-style: normal;\">Puttygen<\/span> <span style=\"font-family: Calibri; font-size: 11.0pt; font-weight: normal; font-style: italic;\">(i.e. Putty Key Generator)<\/span><span style=\"font-family: Calibri; font-size: 11.0pt; font-weight: normal; font-style: normal;\">.<\/span><\/li>\n<\/ol>\n<ol style=\"margin-left: .375in; direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in; font-family: Calibri; font-size: 11.0pt; font-weight: normal; font-style: normal;\" type=\"1\">\n<li style=\"margin-top: 0; margin-bottom: 0; vertical-align: middle;\" value=\"2\"><span style=\"font-family: Calibri; font-size: 11.0pt; font-weight: normal; font-style: normal;\">Click the <\/span><span style=\"font-family: Calibri; font-size: 11.0pt; font-weight: bold; font-style: normal;\">Generate button<\/span><span style=\"font-family: Calibri; font-size: 11.0pt; font-weight: normal; font-style: normal;\">.<\/span><\/li>\n<li style=\"margin-top: 0; margin-bottom: 0; vertical-align: middle;\"><span style=\"font-family: Calibri; font-size: 11.0pt;\">Move the mouse cursor on the <\/span><span style=\"font-weight: bold; font-family: Calibri; font-size: 11.0pt;\">blank area<\/span><span style=\"font-family: Calibri; font-size: 11.0pt;\"> provided by the generator.<\/span><\/li>\n<li style=\"margin-top: 0; margin-bottom: 0; vertical-align: middle;\"><span style=\"font-family: Calibri; font-size: 11.0pt;\">Update the <\/span><span style=\"font-weight: bold; font-family: Calibri; font-size: 11.0pt;\">Key comment<\/span><span style=\"font-family: Calibri; font-size: 11.0pt;\"> field if desired.<\/span><\/li>\n<li style=\"margin-top: 0; margin-bottom: 0; vertical-align: middle;\"><span style=\"font-family: Calibri; font-size: 11.0pt;\">Provide an identical passphrase to the following fields if desired:<\/span>\n<ul style=\"margin-left: .375in; direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in;\" type=\"disc\">\n<li style=\"margin-top: 0; margin-bottom: 0; vertical-align: middle;\"><span style=\"font-weight: bold; font-family: Calibri; font-size: 11.0pt;\">Key passphrase<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"list-style-type: none;\">\n<ul style=\"margin-left: .375in; direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in;\" type=\"disc\">\n<li style=\"margin-top: 0; margin-bottom: 0; vertical-align: middle;\"><span style=\"font-weight: bold; font-family: Calibri; font-size: 11.0pt;\">Confirm passphrase<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<ol style=\"margin-left: .375in; direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in; font-family: Calibri; font-size: 11.0pt; font-weight: normal; font-style: normal;\" type=\"1\">\n<li style=\"margin-top: 0; margin-bottom: 0; vertical-align: middle;\" value=\"6\"><span style=\"font-family: Calibri; font-size: 11.0pt; font-weight: normal; font-style: normal;\">Click <\/span><span style=\"font-family: Calibri; font-size: 11.0pt; font-weight: bold; font-style: normal;\">Save private key<\/span><span style=\"font-family: Calibri; font-size: 11.0pt; font-weight: normal; font-style: normal;\"> button.<\/span><\/li>\n<\/ol>\n<ol style=\"margin-left: .375in; direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in; font-family: Calibri; font-size: 11.0pt; font-weight: normal; font-style: normal;\" type=\"1\">\n<li style=\"margin-top: 0; margin-bottom: 0; vertical-align: middle;\" value=\"7\"><span style=\"font-family: Calibri; font-size: 11.0pt; font-weight: normal; font-style: normal;\">Click <\/span><span style=\"font-family: Calibri; font-size: 11.0pt; font-weight: bold; font-style: normal;\">Save public key<\/span><span style=\"font-family: Calibri; font-size: 11.0pt; font-weight: normal; font-style: normal;\"> if desired. <\/span><\/li>\n<\/ol>\n<p style=\"margin: 0in; margin-left: .375in; margin-top: .25in; font-family: Calibri; font-size: 11.0pt;\">The content of public key file is the one to be copied on the server with the following format:<\/p>\n<pre style=\"margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;\">ssh-rsa &lt;CONTINUOUS_PUBLIC_KEY&gt; &lt;KEY_COMMENT&gt;<\/pre>\n<p style=\"margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;\">And the file normally have the following format:<\/p>\n<pre style=\"margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;\">---- BEGIN SSH2 PUBLIC KEY ----\r\nComment: &lt;KEY_COMMENT&gt;\r\n&lt;DELIMITED_PUBLIC_KEY&gt;\r\n---- END SSH2 PUBLIC KEY ----<\/pre>\n<p style=\"margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;\">You are reading it right, in the file, the public key <span style=\"font-style: italic;\">(i.e. DELIMITED_PUBLIC_KEY)<\/span> is delimited by a carriage return. Thus, you need to remove it to have the CONTINUOUS_PUBLIC_KEY.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Run the Puttygen (i.e. Putty Key Generator). Click the Generate button. Move the mouse cursor on the blank area provided by the generator. Update the Key comment field if desired. Provide an identical passphrase to the following fields if desired: Key passphrase Confirm passphrase Click Save private key button. Click Save public key if desired. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[26,27,10],"tags":[],"_links":{"self":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/226"}],"collection":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=226"}],"version-history":[{"count":1,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/226\/revisions"}],"predecessor-version":[{"id":227,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/226\/revisions\/227"}],"wp:attachment":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}