{"id":5,"date":"2022-05-31T13:44:37","date_gmt":"2022-05-31T13:44:37","guid":{"rendered":"https:\/\/cn.cactusnetwork.wf\/?p=5"},"modified":"2022-05-31T13:56:03","modified_gmt":"2022-05-31T13:56:03","slug":"convertir-clef-rsa-putty-vers-un-format-linux-mac","status":"publish","type":"post","link":"https:\/\/cn.cactusnetwork.wf\/?p=5","title":{"rendered":"Convertir clef RSA PUTTY vers un format linux\/mac"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Origine de l&rsquo;info : <a href=\"https:\/\/stackoverflow.com\/questions\/2224066\/how-to-convert-ssh-keypairs-generated-using-puttygen-windows-into-key-pairs-us\" target=\"_blank\" rel=\"noreferrer noopener\">lien<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>puttygen<\/code> supports exporting your private key to an OpenSSH compatible format. You can then use OpenSSH tools to recreate the public key.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Open PuttyGen<\/li><li>Click Load<\/li><li>Load your private key<\/li><li>Go to <code>Conversions-&gt;Export OpenSSH<\/code> and export your private key<\/li><li>Copy your private key to <code>~\/.ssh\/id_dsa<\/code> (or <code>id_rsa<\/code>).<\/li><li>Create the RFC 4716 version of the public key using <code>ssh-keygen<\/code><\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><code>ssh-keygen -e -f ~\/.ssh\/id_dsa &gt; ~\/.ssh\/id_dsa_com.pub<\/code><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"7\"><li>Convert the RFC 4716 version of the public key to the OpenSSH format: <\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><code>ssh-keygen -i -f ~\/.ssh\/id_dsa_com.pub &gt; ~\/.ssh\/id_dsa.pub<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">See <a href=\"http:\/\/linux-sxs.org\/networking\/openssh.putty.html\" target=\"_blank\" rel=\"noreferrer noopener\">this<\/a> and <a href=\"http:\/\/www.wellsi.com\/sme\/ssh\/ssh.html\" target=\"_blank\" rel=\"noreferrer noopener\">this<\/a> for more information.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Origine de l&rsquo;info : lien puttygen supports exporting your private key to an OpenSSH compatible format. You can then use OpenSSH tools to recreate the public key. Open PuttyGen Click Load Load your private key Go to Conversions-&gt;Export OpenSSH and export your private key Copy your private key to ~\/.ssh\/id_dsa (or id_rsa). Create the RFC [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[6,5,8,7,9],"class_list":["post-5","post","type-post","status-publish","format-standard","hentry","category-it","tag-linux","tag-mac","tag-putty","tag-ssh","tag-windows"],"_links":{"self":[{"href":"https:\/\/cn.cactusnetwork.wf\/index.php?rest_route=\/wp\/v2\/posts\/5","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.cactusnetwork.wf\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.cactusnetwork.wf\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.cactusnetwork.wf\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.cactusnetwork.wf\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5"}],"version-history":[{"count":4,"href":"https:\/\/cn.cactusnetwork.wf\/index.php?rest_route=\/wp\/v2\/posts\/5\/revisions"}],"predecessor-version":[{"id":15,"href":"https:\/\/cn.cactusnetwork.wf\/index.php?rest_route=\/wp\/v2\/posts\/5\/revisions\/15"}],"wp:attachment":[{"href":"https:\/\/cn.cactusnetwork.wf\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.cactusnetwork.wf\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.cactusnetwork.wf\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}