Help Center> Huawei Cloud Flexus> User Guide> Logging In to a Linux HECS> Logging In to a Linux HECS from a Mobile Terminal

Logging In to a Linux HECS from a Mobile Terminal

Scenarios

This section describes how to access a Linux HECS from a mobile terminal.

Prerequisites

  • The target HECS is running.
  • You have obtained the username and password for logging in to the Linux HECS. If you have forgotten the password, reset it by following the instructions provided in Resetting an HECS Password on the Management Console.
  • The HECS has had an EIP bound.
  • Access to port 22 is allowed in the inbound direction of the security group to which the HECS belongs.

Logging In to a Linux ECS from an iOS Terminal

Before performing the operation, make sure that you have installed an SSH client tool, taking Termius as an example, on the iOS terminal. In this example, the Linux ECS runs CentOS 7.6, and it is authenticated using a username and password.
  1. Start Termius and tap New Host.
    Figure 1 New Host
  2. On the New Host page, set the following parameters:
    • Alias: Enter the hostname. In this example, set this parameter to ecs01.
    • Hostname: Enter the EIP bound to the target ECS.
    • Use SSH: Enable it.
    • Host: Enter the EIP bound to the target ECS.
    • Port: Enter port number 22.
    • Username: Enter root.
    • Password: Enter the login password.
      Figure 2 Setting parameters
  3. Tap Save in the upper right corner of the page to save the login settings. On the Hosts page, tap the name of the connection.
    Figure 3 Login information

    If the following page is displayed, you have connected to the Linux ECS.

    Figure 4 Connected

Logging In to a Linux HECS from an Android Terminal

Before performing the operation, ensure that you have installed JuiceSSH on the Android terminal. In this example, the Linux HECS runs CentOS 7.6, and it is authenticated using a username and password.
  1. Start JuiceSSH and tap Connections.
    Figure 5 Starting JuiceSSH
  2. On the Connections page, tap .
    Figure 6 Connections
  3. On the New Connection page, add basic and advanced settings and save the settings. The parameters are as follows:
    • Nickname: Set the name of the login session. In this example, set this parameter to linux_test.
    • Type: Retain the default value SSH.
    • Address: Enter the EIP bound to the target Linux HECS.
    • Perform the following operations to set Identity:
      1. Tap Identity and choose New from the drop-down list.
      2. On the New Identity page, set the following parameters and tap .
        • Nickname: Set an identity name as required to facilitate subsequent management. This parameter is optional. In this example, set it to linux_test.
        • Username: Enter root.
        • Password: Tap SET (OPTIONAL), enter the login password, and tap OK.
          Figure 7 New Identity
    • Port: Enter port number 22.
      Figure 8 Port number
  4. On the Connections page, tap the created connection.
    Figure 9 Connection
  5. Confirm the information that is displayed and tap ACCEPT.
    Figure 10 Confirming the information
  6. (Optional) When you log in to the HECS for the first time, JuiceSSH displays a tutorial for you, which includes setting the font size and popping up the keyboard. Tap OK - I'VE GOT IT.
    Figure 11 Tutorial

You have logged in to the Linux HECS.

Figure 12 Successful login