My security group settings are accurate. I have tried adding the specific ip address that I am trying to connect from and also connections from all ip addresses (0.0.0.0/0), but my connection attempts get filtered. I can connect from other ip addresses without a problem when adding them to the security group.
The problem is not unique to a single instance. I've created new instances which also only deny access from this particular ip address. The problem does seem unique to SSH port 22, however. I can connect from this particular ip address on port 443 and when pinging through ICMP ports.
Please, can anyone make some suggestions as to where the problem might be?
UPDATE: I tried running nmap
From ip address I CANNOT SSH from:
$ nmap -Pn -p22 <instance ip> Host is up. PORT STATE SERVICE 22/tcp filtered ssh $ nmap -Pn <instance ip> Host is up (0.014s latency). Not shown: 996 filtered ports PORT STATE SERVICE 21/tcp open ftp 443/tcp open https 554/tcp open rtsp 7070/tcp open realserver
The only ports I have open in my security group for this ip address are 443 and 22, so I am not sure why 21, 554 and 7070 are open.
And from ip address I can SSH from:
> nmap -Pn <instance ip> Host is up (0.014s latency). Not shown: 998 filtered ports PORT STATE SERVICE 22/tcp open ssh 443/tcp open https
I found this on stackoverflow where somebody testing with nmap had similar issue. I tried creating all kinds of new instances -- with the same AMI, a different AMI, different availability zone, different security group -- with no luck.