3 Answers
0
- did you confirm the security group has an inbound rule to allow port 22 from your ip address (Don't open it to all traffic!!!)
- Is the ec2 launched in a public subnet? A public subnet is defined as one that has an associated route table with an entry for 0.0.0.0/0 to an Internet Gateway (igw).
It's either one of those two issues, or you have a firewall issue on the ec2..which is unlikely.
answered 2 years ago
0
Thank you very much my friend.
Looks like I needed to create a new internet gateway and add it to the route table that was missing.
answered 2 years ago
Relevant questions
Unable to access EC2 Instance over the Public IP Address
asked a month agoUnable to SSH Windows Ec2 instance
asked a year agoWhat is the difference between EC2 Instance Connect and Session Manager SSH connections?
Accepted Answerasked 3 years agolightsail ssh "connecting to instance..." can't connected to my instance with ssh
asked 4 months agoI have not connect ec2 instance by instance and ssh key
asked 6 months agoUnable to Connect to EC2 Instance thru SSH
asked 2 years agoEC2 Instance Connect SSH source IP
asked 10 days agoSSH To EC2 Instance Using Wsftp Pro
asked a year agoUnable to connect to EC2 instance in private Subnet
asked a year agoUnable to connect to EC2 instance using Public IP address with ssh
asked 2 years ago