2 Answers
- Newest
- Most votes
- Most comments
0
I found my mistake so i followed the below steps:-
Download putty and puttygen, or the putty package and install it. Get the .pem file from your AWS EC2 instance. Use puttygen to convert the .pem file so that you'll have a private key --- mistake happened here. I chose "Conversions" tab from PuttyGen, and load my .pem file. After loading pem file, here DO NOT hit "Generate", instead directly "Save private key". That's the key you need. If you click Generate, you'll have a totally different pair of keys. In putty, use ec2-user@your.public.dns.that.you.get.from.aws.ec2.instance, and load the private key at SSH/Auth
Thanks,
answered 3 years ago
0
I'm having the exact same issue. Not sure why this is happening.
answered 3 years ago

That's how I usually connect, but today suddenly I'm unable to connect using Putty with my preset saved connection