Updated on 2025-10-30 GMT+08:00

Login Mode

Description

  • Password

    You can set the initial password for logging in to the ECS and keep it secure. For Linux, the username is root. For Windows, the username is Administrator.

    If you forget the password, perform the following steps to reset it:

    1. Locate the target ECS, click More in the Operation column, and select Reset Password.
    2. Restart the ECS to apply the new password.
  • Key pair

    A key pair is used for ECS login authentication and is recommended for a Linux ECS.

    Before using a key pair, ensure that you have obtained the private key. A private key can be downloaded only once. Keep it secure. You can use a key pair in any of the following ways:

    • Use an existing key pair.
    • Click Create Key Pair to create one.
    • Import a key pair. Actually, the public key will be imported and used together with your obtained private key to authenticate logins.

      Creating a Key Pair

  • Image password

    If you use a Linux private image to create an ECS, you can use the image password for login authentication. Make sure that a password has been set for the selected private image.

  • Skip

    If you did not set a login mode when you create an ECS, you can reset the password on the ECS console by choosing More > Reset Password in the Operation column of the target ECS.

FAQs