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

已提問 1 年前檢視次數 272 次
5 個答案
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
已回答 1 年前
0

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

profile pictureAWS
專家
kentrad
已回答 1 年前
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

已回答 1 年前
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
已回答 1 年前
0

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

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南