Unable to ssh into aws ec2 instances.

0

Hi , I am unable to ssh into any of the AWS-EC2 instances that i create. Connection server timed out prompt everytime.

gefragt vor 2 Jahren545 Aufrufe
1 Antwort
2

Is the EC2 machine in a public subnet or a private subnet?

If it is in a public subnet, can you make sure the security group for the machine allows inbound traffic on the ssh port.

If it is in a private subnet, you cannot connect from the internet. You will need a bastion host on a public subnet or you will need connectivity to the VPC from your on-prem network using either IPSec VPN or DirectConnect

profile pictureAWS
EXPERTE
beantwortet vor 2 Jahren
profile pictureAWS
EXPERTE
Chris_G
überprüft vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen