I use Git to generate a key pair. The private key has this format with no extension (probably the .pem format):
-----BEGIN OPENSSH PRIVATE KEY----- ... -----END OPENSSH PRIVATE KEY-----
I want to login to my server ([email protected]) with my private key. WinSCP requires me to convert that key to .ppk format. It now looks like this:
PuTTY-User-Key-File-2: ssh-rsa Encryption: none Comment: Ooker@PC Public-Lines: 9 ... Private-Lines: 21 ... Private-MAC: ...
However after everything is done it shows this error:
Not supported authentication methods available (server sent: publickey). I've googled it but it doesn't yield useful answer. However I can still login to my own EC2 instance without problem.
Do you know what's wrong?