Help Center > > User Guide> Connecting to Clusters> Logging In to a Master Node> Logging In to an ECS

Logging In to an ECS

Updated at: Apr 28, 2020 GMT+08:00

This section describes how to log in to an ECS using VNC on the ECS management console. This login method is mainly used for emergent O&M. In other scenarios, it is recommended that you log in to the ECS using SSH.

This section describes how to log in to a Linux ECS using a key pair.

This section describes how to log in to a Linux ECS using a password.

This section describes how to remotely log in to an ECS using the remote login (VNC mode) function provided on the ECS management console or a key or password (SSH mode). Remote login (VNC mode) is mainly used for emergency O&M. In other scenarios, it is recommended that you log in to the ECS using SSH.

Logging In to an ECS (VNC)

  1. Log in to the MRS management console.
  2. Choose Clusters > Active Clusters, select a running cluster, and click its name to switch to the cluster details page.
  3. On the Nodes tab page, click the name of a Master node in the Master node group to log in to the ECS management console.
  4. In the upper right corner, click Remote Login.
  5. Enter the username and password for logging in to the Master node as prompted.

    1. If you select Password in Login Mode during cluster creation, as shown in Figure 1, you need to enter root in Username and the password you set during cluster creation in Password.
      Figure 1 Selecting password as the login mode
    2. If you select Key Pair in Login Mode during cluster creation, perform the following operations for login.
      1. After the cluster is created, bind an EIP to the Master node of the cluster. For details, see Virtual Private Cloud > User Guide > Network Components > Elastic IP Address > Assigning an EIP and Binding It to an ECS.
      2. Use user root and the key file to log in to the Master node in SSH mode.
      3. Run the passwd root command to set a password for user root.
      4. Go back to the login interface, and enter root and the password set in 5.b.iii to log in to the node.

Logging In to a Linux ECS Using a Key Pair (SSH)

For details about logging in to a Linux ECS using a key pair, see "Logging In to a Linux ECS Using a Key Pair (SSH)" in the ECS User Guide (Getting Started > Logging In to an ECS > Logging In to a Linux ECS Using a Key Pair (SSH)).

  • The image user name is root.

Logging In to a Linux ECS Using a Password (SSH)

For details about logging in to a Linux ECS using a password, see "Logging In to a Linux ECS Using a Password (SSH)" in the ECS User Guide (Getting Started > Logging In to an ECS > Logging In to a Linux ECS Using a Password (SSH)).

  • The username and password are root and the password set during cluster creation, respectively.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel