Skip to main content
50% off all plans, limited time. Starting at $2.48/mo
Linux / SSH

Manage a Linux VPS via SSH on Android

By Jim Schwarz 4 min read Updated Nov 26, 2026

In this guide, we will use Termius to connect to a Cloudzy Linux VPS from an Android phone or tablet. You can use an Android client of your choice. Termux provides a Linux-style terminal with OpenSSH, and Wardterm is another user-friendly Android SSH client.

Before you start

  • In the Cloudzy dashboard, go to Cloud VPS, select your server, and find its public IP address under Connection Info.
  • Have your VPS’s Linux username and SSH port ready. Use port 22 unless you've changed it. Use root only if that is the account you sign in to on the VPS.
  • For an existing VPS, have a working SSH key or the Linux user’s VPS password if password sign-in is enabled. You can also use the Cloudzy VNC console to access the server if you can’t sign in over SSH.

1. Install Termius

Install Termius from Google Play, then open it. If prompted, sign in or create a Termius account.

2. Set up an SSH key

Skip this step if you’re connecting with a password only.

  1. In Termius, tap Vaults to go back to the Vaults screen, then open Keychain.

    Termius Vaults screen with Keychain
  2. Tap + → New SSH Key → Generate new SSH Key.

    Add a key in Termius Keychain
    New SSH Key menu
    Generate a new SSH key option
  3. Give the key a name, choose Ed25519 as its type, and enter a passphrase to protect it. Tap Generate.

    Termius key generation settings

If you already have a working SSH key for this VPS, choose Import SSH key from file instead, select your private key file, then tap Validate and save it. Alternatively, you can choose the “Paste SSH key” option if you have your SSH key copied to your clipboard. Skip the authorization steps below if its public key is already installed for your Linux user.

If you’re deploying a new VPS

  1. Tap on the key in Keychain and select Copy.
  2. In the Cloudzy dashboard, click the Developer dropdown, open SSH Keys → Add SSH Key. Enter a name, paste the line into Public Key, and save it.

    SSH Keys in the Cloudzy dashboard
    Add SSH Key form
  3. Select that key in SSH Keys during VPS deployment under Advanced features → SSH public keys. Once the VPS is running, use its IP address in the next step.

    Advanced features during VPS deployment
    SSH public key selection for deployment

3. Add the VPS in Termius

  1. In Hosts, tap + → New Host.
  2. Enter the VPS IP address, SSH port, and Linux username. If your public key is already authorized on the VPS, tap SSH ID, Key, Certificate, FIDO2 in the credentials section and select the matching key. If you need a password to sign in, enter the Linux user’s VPS password.
  3. Tap Save.

On the first connection, Termius may ask you to verify the server’s host key. Compare the fingerprint with the matching fingerprint from the VPS’s VNC console or another trusted session before accepting it. To list the fingerprints on the VPS, run:

for key in /etc/ssh/ssh_host_*_key.pub; do ssh-keygen -lf "$key"; done

If you generated a new key for an existing VPS

Saving a public key in the Cloudzy dashboard doesn’t install it on a VPS that’s already deployed. To install it from Termius:

  1. In Keychain, tap the new key, choose Export to…, and select your saved VPS.
  2. Tap Export. If prompted, authenticate using the working credentials for that Linux user. Termius adds the public key to that user’s ~/.ssh/authorized_keys and links the key to the saved host.

If Termius can’t authenticate yet, use a working session or the Cloudzy VNC console. Sign in as the Linux user you’ll connect as and append the new public key as its own line in ~/.ssh/authorized_keys. Keep any existing lines. Then edit the Termius host and select the new key in its credentials.

4. Connect and verify

In Hosts, tap the VPS you saved. To test key authentication, first clear any saved VPS password from the host. A prompt for your key’s passphrase is normal. If Termius still asks for the VPS password, check that you selected the right key and authorized it for that Linux user.

When the shell opens, run:

whoami
hostname

Confirm that the username and hostname match the VPS you meant to connect to.

If you can’t connect

  • Connection timed out or was refused: Check the VPS is running and that the address and port are correct. See Resolve SSH Connectivity Issues.
  • Permission denied: Check the Linux username and selected key. The matching public key must be authorized for that same user. See Resolve SSH Authentication Issues.
  • Host key changed: Verify the new fingerprint from the Cloudzy console before accepting it, even if you recently reinstalled the VPS.
Share

Need help with something else?

Median response time under 1 hour. Real humans, not bots.