How to convert ed25519 private key to putty ppk? : <p>I want to convert an ed25519 private key (which is generated by <code>ssh-keygen</code> command) to a ppk file. But I got the error.</p>

<blockquote>
  <p>Couldn't load private key (unrecognized cipher name)</p>
</blockquote>

<p>Can someone help me?</p>

<ul>
<li><p>tested openssh version: <code>OpenSSH_7.6p1, OpenSSL 1.1.0g  2 Nov 2017</code> and <code>OpenSSH_7.6p1, OpenSSL 1.0.2n  7 Dec 2017</code> (on CoreOS and ArchLinux docker container)</p></li>
<li><p>tested putty version: <code>0.70 64bit</code>, <code>0.70 32bit</code> and <code>snapshot</code> (on windows 10)</p></li>
</ul>

<p>My procedure is as follows.</p>

<h1>1. Generate an ed25519 private key</h1>

<pre><code># ssh-keygen -t ed25519 -a 100
Generating public/private ed25519 key pair.
Enter file in which to save the key (/root/.ssh/id_ed25519):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_ed25519.
Your public key has been saved in /root/.ssh/id_ed25519.pub.
The key fingerprint is:
SHA256:2HfORujStwmC9c91rmDxMbaV9kVMT70gWxnRXAvNrNU root@f46f23bbad55
The key's randomart image is:
+--[ED25519 256]--+
|             +X B|
|           . +.@E|
|            + +.=|
|       o   o . o.|
|      . S o + +oo|
|       o = = +.=o|
|      . o = B + o|
|         o B = o |
|            = ...|
+----[SHA256]-----+

# cat .ssh/id_ed25519
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAACmFlczI1Ni1jdHIAAAAGYmNyeXB0AAAAGAAAABClhk1367
G8CQYpo/0c7UShAAAAZAAAAAEAAAAzAAAAC3NzaC1lZDI1NTE5AAAAIIJiwIymcly4s66p
za/IL3ZNyT5CiMPj0R+/LnMDmABUAAAAoMJIakdbIL7TOAmX8n4xGSrtp8mc/Mr6qimZAZ
zGB7iRhNUXT+isPdf0YuC9mh5NbX43ZYFl+/sWdi2hVmJxbGTwrjaSdNzF3ZnSpi/aVlzF
t3bUCtdwhHLaLqy9unw0zPHlfcQsB700GS/bf4VKRmm1+imj3cAldUm2RF3VdI0U9/04yX
Mj+VBOmevM0i7R/0d6xUFTH3zj99xxeLI2J6A=
-----END OPENSSH PRIVATE KEY-----

# cat .ssh/id_ed25519.pub
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIJiwIymcly4s66pza/IL3ZNyT5CiMPj0R+/LnMDmABU root@f46f23bbad55
</code></pre>

<h1>2. Run <code>puttygen.exe</code> on windows and try to import the ed25519 private key (<code>.ssh/id_ed25519</code>)</h1>

<blockquote>
  <p>Couldn't load private key (unrecognized cipher name)</p>
</blockquote>
