1 Answer
- Newest
- Most votes
- Most comments
0
Is it being rejected by the TCPWrapper?
You may need to review the settings in "/etc/hosts.allow" and "/etc/hosts.deny" of your EC2 instance.
In particular, you should check the file "/etc/hosts.deny".
If your IP address is listed in this file, your connection will be denied.
If SSM Agent is installed on EC2, try using Session Manager instead of SSH to connect.
https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started.html
Relevant content
- asked a year ago
- asked 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago