Help Center> Elastic Cloud Server> 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?

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.