<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: palgoel</title>
    <description>The latest articles on DEV Community by palgoel (@palgoel).</description>
    <link>https://dev.to/palgoel</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F464355%2Ff7ab86f7-4ffc-433f-8b7c-9cfa415e84d9.png</url>
      <title>DEV Community: palgoel</title>
      <link>https://dev.to/palgoel</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/palgoel"/>
    <language>en</language>
    <item>
      <title>Conversion of SSH2 private key to openSSH format using PuTTYgen</title>
      <dc:creator>palgoel</dc:creator>
      <pubDate>Sun, 06 Sep 2020 07:31:19 +0000</pubDate>
      <link>https://dev.to/itsopensource/conversion-of-ssh2-private-key-to-openssh-format-using-puttygen-3i70</link>
      <guid>https://dev.to/itsopensource/conversion-of-ssh2-private-key-to-openssh-format-using-puttygen-3i70</guid>
      <description>&lt;h3&gt;
  
  
  Problem Statement
&lt;/h3&gt;

&lt;p&gt;While working on mercurial(Version Control System), we need to generate different public/private keys for windows &amp;amp; Linux, which leads to have multiple keys for single user.&lt;/p&gt;

&lt;h3&gt;
  
  
  Solution
&lt;/h3&gt;

&lt;p&gt;If we want to access mercurial through Linux with your same key as Windows, then instead of generating a new rsa key pair ,we can reuse same public/private key pair to access mercurial from linux.&lt;br&gt;
Hence same repository you can access via windows or linux without creating separate public/private key pair for both.&lt;/p&gt;

&lt;h3&gt;
  
  
  STEPS :
&lt;/h3&gt;

&lt;p&gt;Pre-requisite: There must a key pair existing in SSH2 format to access mercurial`&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open the PuTTY Key Generator&lt;/li&gt;
&lt;li&gt;On the menu bar, click "File" -&amp;gt; "Load private key"&lt;/li&gt;
&lt;li&gt;Select your .ppk file&lt;/li&gt;
&lt;li&gt;On the menu bar, click "Conversions" -&amp;gt; "Export OpenSSH key"&lt;/li&gt;
&lt;li&gt;Save the file as  (without an extension) e.g. mercurial_rsa
`&lt;code&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You are all done. Same private key on windows can be reused(with above steps) with Linux.&lt;/p&gt;

</description>
      <category>mercurial</category>
      <category>hg</category>
    </item>
  </channel>
</rss>
