Help Center> Elastic Cloud Server> FAQs> Login and Connection> Login Preparations> What Are the Login Requirements for ECSs?
Updated on 2024-04-18 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.

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

    For details, see Assigning an EIP and Binding It to an ECS.

  • 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 Login 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 random password.
    Figure 2 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 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 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.

Login Preparations FAQs

more