Updated on 2025-09-08 GMT+08:00

Login Overview (Linux)

Scenarios

After an ECS is created, you can log in to the ECS and deploy websites or applications on it. Before logging in to an ECS, you need to establish a connection between the local device and the ECS. The connection method depends on the ECS OS and the tool used by the local device.

This section describes the tools and requirements for connecting to a Linux ECS in different methods. You can select a proper method to log in to a Linux ECS as needed.

Constraints

  • Only a running ECS can be logged in to.
  • The username for logging in to a Linux ECS is root.
  • If the login password is forgotten, reset the password on the ECS console.

    To reset a password, locate the row containing the target ECS, click More in the Operation column, and select Reset Password from the drop-down list. For details, see Resetting the Password for Logging In to an ECS on the ECS Console.

Login Modes

You can choose from a variety of login modes based on your local OS type.

Table 1 Linux ECS login modes

Login Mode

Local OS

Tool

Local Software Installation

EIP

Login Credentials

(Recommended) Logging In to a Linux ECS Using CloudShell

Windows

CloudShell

Required

  • Public network connection: Required
  • Private network connection: Not required

Password

Logging In to a Linux ECS Using VNC

Windows

VNC (Browser)

Not required

Not required

Password

Logging In to a Linux ECS Using an SSH Key Pair

Windows or Linux

  • Local Windows OS: Remote connection tool (third-party)
  • Local Linux OS: Command
  • Local Windows OS: Required
  • Local Linux OS: Not required

Required

Key Pair

Logging In to a Linux ECS Using an SSH Password

Windows or Linux

  • Local Windows OS: Remote connection tool (third-party)
  • Local Linux OS: Command

Required

Required

Password

Logging In to a Linux ECS from a macOS Server

macOS

Remote connection tool (third-party)

Required

Required

Password

Logging In to a Linux ECS from a Mobile Terminal

Mobile terminal

Remote connection tool (third-party)

Required

Required

Password