Estos contenidos se han traducido de forma automática para su comodidad, pero Huawei Cloud no garantiza la exactitud de estos. Para consultar los contenidos originales, acceda a la versión en inglés.
Centro de ayuda/ Elastic Cloud Server/ Preguntas frecuentes/ 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?
Actualización más reciente 2023-08-08 GMT+08:00

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.