1 Answers
1
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
answered 3 days ago
Relevant questions
I am not able to ssh to EC2 instances
asked 4 months agoSuddenly cannot SSH into established EC2 instances in US-East-1
asked 2 years agoUnable to access ec2 instance | SSH Connection Timed Out
asked a year agossh operation timed out
asked 4 months agounable to SSH into any instance in the region eu-central-1
Accepted Answerasked 3 years agoUnable to ssh into aws ec2 instances.
asked 3 days agoUnable to SSH into newly created EC2 Instances
asked 2 years agoSSH Connection Timed Out
asked 5 months agoUnable to SSH to new instances unless its an AWS Ami
Accepted Answerasked 3 years agoCannot SSH to ec2 instances
asked a year ago