Trying to follow github instructions for creating ssh keys for windows.
I ran ssh-keygen -t rsa -C " my@email.com " , enter the passphrase, and it looks like the SSH key is configured correctly.
However, when I try to "Add an SSH key" on GitHub, this gives me an error
Invalid key. It should start with "ssh-rsa" or "ssh-dss". Make sure you copy the public half of the key
The public key created by Windows is as follows:
---- BEGIN SSH2 PUBLIC KEY ---- Comment: "2048-bit RSA, my@email.com " *public key* ---- END SSH2 PUBLIC KEY ----
First of all, it does not start with 'ssh-rsa' or 'ssh-dss'. I tried to just copy the *public key* and add 'ssh-rsa' to it, but I get the same error on GitHub. Any ideas what I'm doing wrong?
Fgreg source share