Why Cannot I Use the Account Used to Create a GPU-accelerated ECS to Log In to the ECS Through SSH?
Solution
Log in to the ECS using VNC, modify the configuration file, and log in to the ECS through SSH.
- On the Elastic Cloud Server page, locate the target ECS and click Remote Login in the Operation column.
- On the login page, enter user root and its password.
The password is the one you set during ECS creation.

- In the /etc/ssh/ directory, modify the three configuration items in the sshd_config file, as shown in the following figure.

- Save the modification and exit. Then, run the following command to restart SSH:
- Log in to the ECS through SSH.
- If the fault persists, contact customer service.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.