Reputation: 317
I created an instance of aws-Amazon Linux on my vpc and when i tried to connect(ssh) to it from my windows instance, i get the below error-
---------------------------
PuTTY Fatal Error
---------------------------
Disconnected: No supported authentication methods available (server sent: publickey)
---------------------------
OK
---------------------------
I used the below syntax to connect to my instance-
"c:\Program Files\Putty\PUTTY.EXE" -ssh [email protected] -i c:\Shared\mykey1.pem
Do suggest on how this can be fixed.
Upvotes: 0
Views: 61
Reputation: 7906
You need to convert the key into a format putty can use:
Here is the documentation.
Upvotes: 1