1 Answer
0
Hello Oluwasegun,
Please check the following:
- Security group allows incoming traffic on port 22
- Network Access Control List (NACL) is allows traffic on port 22
More information can be found here: https://aws.amazon.com/premiumsupport/knowledge-center/ec2-linux-resolve-ssh-connection-errors/
Do also check If your EC2 instances are launched in the private or public subnets? If they are launched on the private subnets, you can use a bastion host to ssh.
To configure a bastion host, you can follow this link: https://aws.amazon.com/blogs/security/securely-connect-to-linux-instances-running-in-a-private-amazon-vpc/
Hope this helps!
answered 10 days ago
Relevant content
- asked 8 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 months ago