Updated on 2024-06-21 GMT+08:00

What Are the Login Requirements for ECSs?

Windows

  • Ensure that the ECS has an EIP bound (only required for MSTSC logins).

    For details, see Binding an EIP.

  • Make sure that the remote desktop protocol has been enabled on the ECS (only required for MSTSC logins).

    If MSTSC-based remote desktop connection is used, log in to the ECS using VNC and enable the remote desktop protocol.

    For details, see Remotely Logging In to a Windows ECS (Using MSTSC).

More information:

  • If you created your ECS by using an external image file and the ECS does not have the password reset plug-in installed, reset the ECS login password by attaching a disk to the ECS. For details, see Resetting the Password for Logging In to a Windows ECS.
  • If your ECS is authenticated using a key pair, parse the private key file to a password before you log in to the ECS.
    1. Locate the target ECS.
    2. In the Operation column, click More and select Get Password.
    3. Copy the content of the private key file and paste it into the text box. Click Get Password to obtain a new random password.
    Figure 1 Get Password

Linux

  • Ensure that the ECS has an EIP bound (only required for SSH logins).
    SSH logins are available for Linux ECSs only. You can use a remote login tool to log in to your ECS. In such a case, the ECS must have an EIP bound.
    More information:
    • If you created your ECS by using an external image file and the ECS does not have the password reset plug-in installed, reset the ECS login password by attaching a disk to the ECS. For details, see Resetting the Password for Logging In to a Windows ECS.
    • For a Linux ECS authenticated using a key pair:
      • For the first login, use an SSH key. For details, see Login Using an SSH Key.
      • For a non-first login, if you want to use the remote login function (VNC) provided by the management console, log in to the ECS using the SSH key and set the password.
    • For a key-pair-authenticated ECS, using a private key file to obtain its login password will fail because Cloud-Init may fail to inject the password.