tencent cloud

Feedback

Logging in to Linux Instance

Last updated: 2022-03-18 14:17:20

    Overview

    ECM supports the following two login methods:

    After creating an ECM instance successfully, you can log in to it as instructed in this document.

    Prerequisites

    • You have created an ECM instance and obtained its public IP.
    • You already have the administrator account and password to log in to the instance.
      If you forgot your password, you can reset it.
    • If you want to log in to a Linux instance over SSH, ensure that Xshell has been installed on the local PC.

    Directions

    Logging in through VNC

    1. Log in to the ECM console and select Instance List on the left sidebar.
    2. In Instance List, select the target Linux instance and click Login as shown below:
    3. In the Log in to Linux Instance pop-up window, select Log in Through VNC and click Log in Now as shown below:
    4. In the pop-up dialog box, enter the username after login and press Enter.
    5. Enter the password after Password and press Enter.
      The entered password is not displayed by default, as shown below:

    Logging in over SSH

    Note:

    There are multiple software applications for remote login to a Linux instance, such as PuTTY and Xshell. This document uses Xshell 6 as an example to describe how to use remote login software to log in to a Linux instance on a local Windows PC.

    1. Open the Xshell client and click New.
    2. In the New Session Properties window, enter the following content:
    • Name: enter a session name, such as test.
    • Host: enter the public IP of the ECM instance (log in to the ECM console, and you can get the public IP on the instance list page).
    • Protocol: select "SSH".
    • Port Number: enter the port of the ECM instance, which must be set to 22.
    1. Click Connect.
    2. Enter the login username such as root and click OK as shown below:
    3. Enter the login password and click OK as shown below:

      Once logged in, you can see the information of the ECM instance to which you are currently logged in on the left of the command prompt.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support