title: How to add an ed25519 ssh key to eclipse for use with github?
body: <p>I used Git for Windows (v2.30.1) to create an ed25519 ssh key with
  <code>ssh-keygen -t ed25519 -C “&lt;github email&gt;”</code> per <a href="https://docs.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent" rel="nofollow noreferrer">this github doc</a> and <a href="https://docs.github.com/en/github/authenticating-to-github/adding-a-new-ssh-key-to-your-github-account" rel="nofollow noreferrer">added it to my account</a>. I verified it works from Git CMD with <code>ssh -T git@github.com</code>.</p>
  <p>To load it into eclipse (v2020-12; EGit v5.11), I went here: <code>Preferences --&gt; SSH2 --&gt; Key Management --&gt; Load Existing Key...</code></p>
  <p>For both the private and public keys, I got this error <code>failed to load given file</code>. <a href="https://wiki.eclipse.org/EGit/New_and_Noteworthy/5.4" rel="nofollow noreferrer">EGit v5.4+ &quot;supports&quot; an ed25519 key</a>, but I could find no instructions (<a href="https://wiki.eclipse.org/EGit/FAQ#SSH_config" rel="nofollow noreferrer">expected them here</a>) for how to get one into eclipse. Googling for the error was unhelpful.</p>
  <p>How do I use my ed25519 key with eclipse?</p>