Облачная платформаAdvanced

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.

  1. On the ECS console, locate the ECS and click Remote Login.
  2. On the login page, enter user root and its password.
    Note

    The password is the one you set during the 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. After the restart, use the SSH password to log in again.
  6. If the fault persists, contact customer service.