Unable to SSH to ec2 via SSH, even though NACL is enabled to receive access from everywhere with port 22

Unable to SSH to ec2 via SSH, even though NACL is enabled to receive access from everywhere with port 22

Security group is also edited to receive all the connection via SSH

1 answer

  • answered 2018-07-11 05:20 John Rotenstein

    By default, you should not modify the Network ACLs unless you have a very specific need (eg creating a DMZ).

    You should:

    • Reset your NACL to default settings (Allow ALL)
    • Add SSH to the Security Group associated with your Amazon EC2 instance