Hello, have you had a little at this article https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html ? it might help you out. check the ppk isn't just a rename but a conversion as well.
Your problem can be related to incorrect login which varies depending on AMIs. Use following logins on following AMIs:
- ubuntu or root on ubuntu AMIs
- ec2-user on Amazon Linux AMI
- centos on Centos AMI
- debian or root on Debian AMIs
- ec2-user or fedora on Fedora
- ec2-user or root on: RHEL AMI, SUSE AMI, other ones.
If you are using OS:
Windows - get PEM key from AWS website and generate PPK file using PuttyGen. Then use Putty to use the PPK (select it using left-column: Connection->SSH->Auth: Private key for authorization)
Linux - run: ssh -i your-ssh-key.pem login@IP-or-DNS
If the Answer is helpful, please click
Accept Answer and up-vote, so that it can help others in the community looking for help on similar topics.
I was doing one terrible mistake. I deleted the original key pair and created the new one that was not accepted by the system. i created new instance and by its original key pair ssh that instance by the steps provided by you its connected. Thank you all for your support
I am unable to customise my AWS SSO URLasked 7 months ago
i have 1 instances and i am using application load balancerasked 2 months ago
I am trying to connect to my ec2 instance but instead its loading endlesslyasked 4 months ago
I can't connect to my EC2 instance.asked 7 months ago
Unable to connect to EC2 Instance through Puttyasked 3 years ago
I am unable to delete my AWS Amplify projectasked 6 months ago
Unable to Connect to Instanceasked 7 months ago
Getting emaisl saying I have almosr reached my free tier monthly usage?asked 7 months ago
problem of connecting new EC2 instanceasked 3 years ago
i am using free tier as a new user. i am connecting my EC-2 instance from my laptop through putty.Accepted Answerasked 3 months ago