Security Group appears to blocking SSH

0

Dears, Why is my security group showing this message: You will not be able to connect to this instance as the AMI requires port(s) 22 to be open in order to have access. Your current security group doesn't have port(s) 22 open

Enter image description here

asked a year ago294 views
5 Answers
0

There should be one or other Security Group blocking port 22, and it's overlaping the one that allows port 22. I'd recommend to go through all of them and find the overlaping.

Paul
answered a year ago
0

You have to check one of those boxes where the SG has a rule with port 22 open.

profile pictureAWS
EXPERT
kentrad
answered a year ago
0

Dear Paul and Kentrad,

When I add permission for SSH to the default security group the caution is still there. When I tried to connect I got this error: Enter image description here

The caution is still there when I remove the SSH permission or specify my IP address. When I tried to connect i got this error: Enter image description here

answered a year ago
0

What's the security group associated to your EC2 instance ? Go to instance and show us the contents of the security tab. Thanks.

Paul
answered a year ago
0

Dear Paul, Please find the attached screenshot as per request. Enter image description here

answered a year 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