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

Remotely Logging In to a Linux ECS (Using VNC)

Scenarios

This section describes how to use VNC provided on the management console to log in to an ECS.

For instructions about how to copy and paste data on VNC pages after the ECS login, see Follow-up Procedure.

Before using remote login (VNC) provided on the management console to log in to a Linux ECS authenticated using a key pair, log in to the ECS using an SSH key and set a login password.

Prerequisites

You have used an SSH key to log in to the Linux ECS authenticated using a key pair and set a login password.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Under Computing, click Elastic Cloud Server.
  4. In the Operation column of the target ECS, click Remote Login.
  5. (Optional) When the system displays "Press CTRL+ALT+DELETE to log on", click Ctrl+Alt+Del in the upper part of the remote login page to log in to the ECS.

    Do not press CTRL+ALT+DELETE on the physical keyboard because this operation does not take effect.

  6. Enter the ECS password as prompted.
    Figure 1 Username (root as an example) and password

Follow-up Procedure

Local commands can be copied to an ECS. To do so, perform the following operations:

  1. Log in to the ECS using VNC.
  2. Click Paste & Send in the top area of the page.
    Figure 2 Paste & Send
  3. Press Ctrl+C to copy data from the local computer.
  4. Press Ctrl+V to paste the local data to the Paste & Send window.
  5. Click Send.

    Send the copied data to the CLI.

There is a low probability that data is lost when you use Input Commands on the VNC page of a GUI-based Linux ECS. This is because the number of ECS vCPUs fails to meet GUI requirements. In such a case, it is a good practice to send a maximum of 5 characters at a time or switch from GUI to CLI (also called text interface), and then use the command input function.