Help Center/ Elastic Cloud Server/ FAQs/ Remote Login FAQ/ Login Preparations/ What Are the Login Requirements for ECSs?
Updated on 2024-09-29 GMT+08:00

What Are the Login Requirements for ECSs?

Windows

  • Obtain the login password.

    ECSs created using a public image have the one-click password reset plug-in installed by default. If you forgot your password or it has expired, reset the password on the ECS console to obtain a new password for logging in to the ECS.

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

    For details, see Assigning 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 Without the Password Reset Plug-in Installed.
  • 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

  • Obtain the login password.

    ECSs created using a public image have the one-click password reset plug-in installed by default. If you forgot your password or it has expired, reset the password on the ECS console to obtain a new password for logging in to the ECS.

  • 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, for example, use PuTTY 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 Linux ECS Without the Password Reset Plug-in Installed.
    • For a Linux ECS authenticated using a key pair:
    • 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.