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

Logging In to an 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 1 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 Login Using an SSH Key.

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

  • Certain ECSs require the installation of a driver after you log in to them. For details about available ECS types as well as their functions and usage, see "Notes" in .