When I try to connect my RHEL 8.7 EC2 instance, i am getting
ssh: connect to host xx.xx.xx.xx port 22: Connection refused
Steps followed
- Triggered an EC2 instance which has RHEL 8.4
- Upgraded it to RHEL 8.7
- Took an AMI from the above instance
- Launched an instance from the created AMI
Now getting the error. I also ensured the port 22 is open, and sshd service is running.