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
Unable to SSH into newly created EC2 Instancesasked 2 years ago
Unable to SSH into my EC2 Instance Permission denied (publickey)asked 3 years ago
Unable to SSH into instanceasked 2 years ago
SSH Connection Timed Outasked 5 months ago
Suddenly cannot SSH into established EC2 instances in US-East-1asked 2 years ago
I am not able to ssh to EC2 instancesasked 4 months ago
Unable to SSH to new instances unless its an AWS AmiAccepted Answerasked 3 years ago
Unable to ssh into aws ec2 instances.asked 3 days ago
Unable to access ec2 instance | SSH Connection Timed Outasked a year ago
ssh operation timed outasked 4 months ago