I once generated a SSH key on Ubuntu and have been using that key in different apps and services such as Visual Studio Code and DigitalOcean.
Right now, I don't have access to that Ubuntu machine and all I have is the content of ~/.ssh/id_rsa file on that Ubuntu machine and it looks like below:
-----BEGIN RSA PRIVATE KEY----- A Bunch Of Random Characters -----END RSA PRIVATE KEY-----
I'm currently on a Windows machine using JetBrains' WebStorm, and I need to develop a project on a remote Linux server by the help of SSH.
So I copied over the above contents to a file in my home directory and instructed WebStorm to use this file as the private key, but so far, WebStorm is unable to use this file and responds a message that says "Invalid Credentials".
See the screen shot of Webstorm when it's throwing the error
The Linux server is correctly set up and includes my public key and is indeed accessible globally.
How can I re-use my SSH key on this new Windows machine to develop a project on a remote Linux server through SSH using JetBrains' WebStorm ?