Need to manage your Linux VPS or Cloud Server while on the move? With Termux on Android, you can securely access your server terminal via SSH directly from your smartphone without needing a computer.


Prerequisites

  • An Android smartphone with internet connectivity.
  • Your BahariHost Linux VPS / Server IP address, SSH port (default: 22), username (default: root), and server password (found in your service welcome email).

Step 1: Install Termux on Your Phone

  1. Download and install Termux from F-Droid or GitHub (recommended over Google Play Store for the latest package support).
  2. Open the Termux application on your mobile device.

Step 2: Install OpenSSH Package

Update package repositories and install the OpenSSH client by running the following commands:

pkg update && pkg upgrade -y
pkg install openssh -y

Step 3: Connect to Your Linux Server via SSH

  1. Execute the SSH connection command:
    ssh root@your-server-ip
    (Replace your-server-ip with your actual VPS IP address. If using a custom SSH port: ssh -p PORT root@your-server-ip)
  2. If prompted with "Are you sure you want to continue connecting (yes/no/[fingerprint])?", type yes and press Enter.
  3. Enter your root password.
    Note on Password Typing: In Linux terminal security, password characters will not be displayed on screen while typing. This is normal behavior. Carefully type your password and press Enter.
  4. You are now logged into your remote Linux server command line via mobile!

Watch the Video Tutorial!

Watch the step-by-step video demonstration below to easily connect to your Linux server using Termux:

Need high-performance Linux VPS or KVM hosting? Check out our BahariHost VPS Plans.

這篇文章有幫助嗎? 0 用戶發現這個有用 (0 投票)