title: PhpStorm "rsa key is corrupt or has the wrong version"
body: <p>I'm using PhpStorm 2018.2 and attempting to connect to remote host using SSH key (I can connect via ssh on terminal).</p>
  
  <p>When I enter the (newly created) rsa key into the remote host settings I get the error "'{path/to/key}_rsa' is corrupt or has unknown format" ... see image attached.</p>
  
  <p><a href="https://i.stack.imgur.com/vPcNZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vPcNZ.png" alt="enter image description here"></a></p>
  
  <p>I have seen some bits about converting the key to an ssh2 key using this command</p>
  
  <pre><code>ssh-keygen -e -f ~/.ssh/key_rsa &gt; ~/.ssh/key_rsa_ssh2
  </code></pre>
  
  <p>and using that in PhpStorm instead but with no luck.  </p>