Why Cannot I Use the Username and Password Configured During the Creation of 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 ECS console, locate the ECS and click Remote Login.
- On the login page, enter user root and its password.
The password is the one you set during the 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:
- After the restart, use the SSH password to log in again.
- If the fault persists, contact customer service.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.