All Products
Search
Document Center

Elastic Compute Service:Connect to a Linux instance from a mobile device by using password authentication

Last Updated:Jun 23, 2026

You can remotely manage your Linux instances from anywhere by connecting from a mobile device. This topic describes how to connect to a Linux instance by using password authentication, with examples for iTerminal on iOS and JuiceSSH on Android.

Prerequisites

  • A Linux instance is created.

  • A logon password is set for the instance. If you have not set a password for the instance or if you have forgotten the password, you must reset the password for the instance. For more information, see Reset the logon password of an instance.

  • A public IP address or an elastic IP address (EIP) is associated with the instance.

  • The instance is in the Running state.

  • The following rules are added to the security group to which the instance belongs. For more information, see Add a security group rule.

    Network type

    Rule direction

    Action

    Port range

    Priority

    Authorization object

    VPC

    Inbound

    Allow

    SSH (22)

    1

    0.0.0.0/0

Connect to a Linux instance (iTerminal for iOS)

This example uses password authentication.

  1. Download iTerminal.

  2. Start iTerminal.

  3. Tap SSH at the top of the page.SSH

  4. Enter the connection information, and then tap Connect.

    • Nickname: Enter a name for the host. In this example, the name is DocTest.

    • Host Name or IP Address: Enter the static public IP address or EIP of the Linux instance.

    • Port: Enter the port number 22.

    • User Name: Enter the instance's username, such as root or ecs-user.

    • Password: Enter the logon password of the instance.

    iOS环境中连接Linux实例-003

    You are now connected to the Linux instance.iOS环境中连接Linux实例-014

Connect to a Linux instance (JuiceSSH for Android)

This example uses password authentication.

  1. Install JuiceSSH.

  2. Start JuiceSSH.

  3. Tap Manage Connections.

    juicessh管理连接.jpg

  4. Tap the + icon.

  5. Enter the connection information, and then tap the icon.

    • Nickname: Enter a name for the connection. In this example, the name is DocTest.

    • Type: Retain the default value SSH.

    • Address: Enter the static public IP address or EIP of the Linux instance.

    • Configure the Identity.

      1. Tap Identity and select New from the drop-down list.

      2. Enter the following information and tap the icon.

        • Nickname: Optional. You can set a name for the identity to help you manage it. In this example, the name is DocTest.

        • Username: Enter the instance's username, such as root or ecs-user.

        • Password: Tap UPDATE/CLEAR and enter the logon password of the instance.

    • Port: Enter the port number 22.

  6. Confirm the message and tap ACCEPT.

  7. (Optional) On your first connection, a prompt for settings such as font configuration may appear. Confirm the information and tap OK - I’VE GOT IT!.

You are now connected to the Linux instance.