Why Was My Login to a Linux ECS Using a Key File Unsuccessful?
When the key file for creating a Linux ECS was used to log in to the ECS, the login failed.
Possible causes vary depending on the image used to create the Linux ECS.
- Cause 1: The image used to create the Linux ECS is a private image, on which Cloud-Init is not installed.
- Cause 2: Cloud-Init is installed on the image, but the key pair was not obtained during ECS creation.
- If the issue is a result of cause 1, proceed as follows:
The original image password or key pair is the OS password or key pair configured when the private image was created.
If the original image password was forgotten or key pair has been lost, use the password reset function available on the Elastic Cloud Server page to reset the password.
- If the issue is a result of cause 2, proceed as follows:
- Locate the row containing the target ECS, click More in the Operation column, and select Restart.
- Use the key file to log in to the ECS again and check whether the login is successful.
- If the login is successful, no further action is required.
- If the login failed, contact customer service for technical support.