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.

asked 2 years ago511 views
1 Answer
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
answered 2 years ago
profile pictureAWS
EXPERT
Chris_G
reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions