Updated on 2024-10-22 GMT+08:00

How Do I Log In to My ECS?

Logging In to a Windows ECS

Figure 1 shows the modes in which a Windows ECS can be logged in to.

Figure 1 Windows ECS login modes
  1. (Optional) Retrieve your password from the key file.

    To log in to a key-pair-authenticated ECS, use the password obtaining function provided by the management console to decrypt the key file used during ECS creation to obtain a password.

    For details, see Obtaining the Password for Logging In to a Windows ECS.

  2. Select a login method and log in to the ECS.

Logging In to a Linux ECS

The method of logging in to an ECS varies depending on the login authentication configured during ECS creation.

Figure 2 Linux ECS login modes
  • To log in to a password-authenticated ECS for the first time, use one of the following methods:
  • To log in to a key-pair-authenticated ECS for the first time, use a tool, such as PuTTY or XShell, and the desired SSH key as user root. Ensure that the ECS has an EIP bound.

    For instructions about how to log in to a Linux ECS using an SSH key, see Logging In to a Linux ECS Using an SSH Key Pair.

    If you want to log in to an ECS using VNC provided on the management console, log in to the ECS using an SSH key, configure the login password, and use the password for login.

Follow-up Procedure

  • If you have added a data disk during ECS creation, you must initialize the data disk after logging in to the ECS.

    For details, see Initialization Overview.

  • Certain ECSs require the installation of a driver after you log in to them. For details about available ECS types and functions, see ECS Types. For details about restrictions on using different types of ECSs, see their notes.