- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
Hello.
Have you met all the EC2 Instance Connect prerequisites listed in the document below?
The following document describes items that you should check in addition to security group rules.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-prerequisites.html
you have to ssh using the downloaded .pem credential, throw the -i flag with ssh, followed by that which is specified ssh -i path/to/certificate.pem name@serverhost
Already tried this but not able to ssh & also tried with another ec2 instance & also with putty by ppk file
Hi Jai,
Follow this post: https://repost.aws/knowledge-center/ec2-instance-connect-troubleshooting
It will help you find where your issue is.
2 key points usually
- make sure of the VPC in which this instance is started
- make sure that the ssh rule are placed in the sec group used by VPC
I see often folks a) having their instance in a different VPC than the one they tought or b) defining the ssh rules in a sec group that is not the one for their VPC
Best,
Didier
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
I am using the default vpc & security group with ssh enabled ......ami is Amazon Linux 2 (ami-0c0b74d29acd0cd97) all the settings are ok as I had already check on another account too, getting issues only in my account
If you create another EC2, can you connect it?