SSH key not added to authorized_keys file on Alibaba Cloud instance
Issue
- SSH key not added to authorized_keys file on Alibaba Cloud instance.
- I cannot log into my cloud instance using the SSH key pair configured at instance creation.
$ ssh -i test-pair.pem cloud-user@11.22.33.44
ssh: connect to host 11.22.33.44 port 22: Connection refused
Environment
- Red Hat Enterprise Linux (RHEL) 8 with the High Availability Add-On
- Alibaba Cloud (Aliyun) instance
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.