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.

demandé il y a 2 ans545 vues
1 réponse
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
EXPERT
répondu il y a 2 ans
profile pictureAWS
EXPERT
Chris_G
vérifié il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions