Updated on 2024-04-19 GMT+08:00

Logging In to an ECS

Logging In to a Windows ECS

You can log in to a Windows ECS using either VNC or MSTSC provided on the management console.

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 to obtain a password.

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

  2. Select a login mode for 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 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 Remotely 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.

  • To log in to a password-authenticated ECS for the first time, use either of the following methods:

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 Scenarios and Disk Partitions.

  • 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.