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

gefragt vor einem Jahr272 Aufrufe
5 Antworten
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
beantwortet vor einem Jahr
0

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

profile pictureAWS
EXPERTE
kentrad
beantwortet vor einem Jahr
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

beantwortet vor einem Jahr
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
beantwortet vor einem Jahr
0

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

beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen