Manage your Linux VPS from an Android phone or iPhone

Connect to your Linux VPS over SSH from Android or iPhone with apps such as Termius, JuiceSSH and Blink Shell, use SSH keys on mobile, find special keys like Ctrl and Tab, and make safe emergency fixes.

  • Beginner
  • Linux VPS
  • 5 min read

By RunRacks Team · Published

A phone is not where you want to do a day's server work, but it is perfect for quick checks and emergencies: restarting a stuck service, reading a log, or freeing disk space while you are away from your desk. This guide covers the main SSH apps for Android and iPhone, how to log in with a key, how to reach keys such as Ctrl and Tab, and habits that keep mobile fixes safe.

Before you start

  • Your VPS IP address, username and password from the service page in your Dashboard. The Dashboard works in a mobile browser too.
  • An SSH app from your device's app store (see below).
  • Ideally, key login already working from your computer. See Set up SSH keys.

Choose an app

  • Termius (Android and iOS): a polished client with a host list, key storage, snippets and optional sync with the desktop app. Good if you already use Termius on your computer. See Set up Termius.
  • JuiceSSH (Android): a long-standing Android client with a configurable extra-keys bar and support for SSH keys.
  • Blink Shell (iOS and iPadOS): a terminal aimed at power users, with strong keyboard support and Mosh, which keeps sessions alive when your phone changes networks.
  • Termux (Android): a full Linux environment on Android. Install openssh inside it and use the normal ssh command, exactly as on a computer.

Any of these work with a RunRacks Linux VPS. Pick the one that feels comfortable.

Make your first connection

The steps are almost identical in every app:

  1. Add a new host or connection.
  2. Enter the IP address, for example 203.0.113.10.
  3. Enter the port: 22, or your custom SSH port.
  4. Enter the username, such as root or deploy.
  5. Save and tap the host to connect.
  6. Accept the host key fingerprint the first time, then enter the password.

When you see the shell prompt, you are connected.

Use an SSH key on your phone

You have two options.

Generate a key on the phone (recommended)

Most apps can create a key pair. Choose Ed25519, set a passphrase, and copy the public key. Then add it to the server from your computer, or from the phone while logged in with the password:

Terminal
mkdir -p ~/.ssh && chmod 700 ~/.ssh
nano ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys

Paste the public key on its own line in nano before saving. A separate key per device means you can revoke the phone's access alone if it is lost, simply by deleting its line from authorized_keys.

Import an existing key

Apps can import a private key from a file or the clipboard. Only do this if you must, and transfer the file securely, for example over a USB cable or through an encrypted password manager. Never email a private key to yourself.

Find special keys

Phone keyboards lack many keys the terminal needs. Apps add an extra row above the keyboard with Ctrl, Esc, Tab, arrow keys and symbols such as | and ~. Useful combinations:

  • Tab: complete file and command names. It saves a lot of typing on a small screen.
  • Ctrl + C: stop a running command.
  • Ctrl + D: log out.
  • Ctrl + O, Ctrl + X: save and exit in nano.
  • Esc then :wq: save and quit in Vim.
  • Arrow up: repeat earlier commands.

In JuiceSSH, Blink and Termius, the extra key row can be customised. Volume keys can often be mapped to arrow keys or Ctrl too.

A Bluetooth keyboard turns a phone or tablet into a usable terminal for longer sessions.

Safe emergency fixes from a phone

Small screens and autocorrect make typos more likely. A few habits help:

  • Turn off autocorrect in the app or keyboard settings. It loves turning ls into is.
  • Prefer read-only checks first. Look before you change anything:
Terminal
  uptime
  df -h /
  free -h
  systemctl --failed
  • Restart rather than reconfigure. Restarting a service is a safe, reversible fix you can do from a phone:
Terminal
  sudo systemctl restart nginx
  sudo systemctl status nginx --no-pager
  • Save multi-step fixes as snippets in your app, tested on your computer first, so you tap instead of type.
  • Leave risky changes for a keyboard. Firewall rules, SSH config and deleting files are better done later at a desk.
  • Use tmux for long tasks. If your phone loses signal, a command running inside tmux keeps going. See Keep processes running after SSH disconnects.

Protect the phone

  • Lock the SSH app with a PIN or biometrics if it offers that.
  • Use a key with a passphrase rather than a saved password.
  • If the phone is lost, remove its key line from ~/.ssh/authorized_keys on every server.

Check it works

  1. Connect to your server from the app.
  2. Run uptime and df -h / and confirm you get output.
  3. Press Ctrl + D from the extra key row to log out cleanly.

Troubleshooting

  • Connection times out on mobile data but works on Wi-Fi: some mobile networks block certain ports. Try another network and confirm the server is reachable.
  • Session drops when the screen turns off: mobile operating systems pause background apps. Use tmux on the server, or Mosh in apps that support it.
  • `Permission denied (publickey)`: the phone's public key is not in the server user's authorized_keys, or the wrong key is selected for the host.
  • Text is too small: pinch to zoom, or raise the font size in the app's terminal settings.

Next steps

Was this guide helpful?

Still stuck?

Ask RunRacks AI for a quick answer, or open a ticket and our team will take a look at your server.

Getting started

Edit files with nano: a beginner's guide

Open, edit, search and save files with the nano text editor on a Linux server, including cutting and pasting lines, showing line numbers and safely editing system config files with sudo.

  • Beginner
  • Linux VPS
  • 5 min read

Getting started

Your first hour with a new RunRacks server

A step-by-step roadmap for the first hour after your RunRacks server is delivered, from finding your login details to changing the password, updating the OS and picking your next guides.

  • Beginner
  • All
  • 5 min read

Getting started

How to choose a server location

Pick a data center location based on where your users, broker or team are, confirm it with ping tests, and weigh the legal and latency points that come with each choice.

  • Beginner
  • All
  • 4 min read