Help Center > > FAQs> Login and Connection> Login Preparations> Why Cannot I Use the Account Used to Create a GPU-accelerated ECS to Log In to the ECS Through SSH?

Why Cannot I Use the Account Used to Create a GPU-accelerated ECS to Log In to the ECS Through SSH?

Updated at: Dec 16, 2019 GMT+08:00

Solution

Log in to the ECS using VNC, modify the configuration file, and log in to the ECS through SSH.

  1. On the Elastic Cloud Server page, locate the target ECS and click Remote Login in the Operation column.
  2. On the login page, enter user root and its password.

    The password is the one you set during ECS creation.

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

  4. Save the modification and exit. Then, run the following command to restart SSH:

    service sshd restart

  5. Log in to the ECS through SSH.
  6. If the fault persists, contact customer service.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel