Quick server checks, package updates, service restarts, log reviews, and emergency fixes when you only have your phone.
MOBILE SSH • CLOUD SERVERS • AUTOMATION
Update a cloud server from your phone.
Ever wanted to check on a cloud server, restart a service, or run a safe update from your cell phone? Termius turns your phone into a pocket SSH client for managing Linux servers when you are away from your laptop.
user@vps:~$ ssh server
admin@cloud:~$ sudo apt update
Hit:1 deb.debian.org bookworm InRelease
admin@cloud:~$ sudo systemctl status nginx
active (running)
Use SSH keys, avoid root login when possible, and save common commands as reusable snippets instead of retyping long commands on a touchscreen.
Termius is not just for typing commands. It can become a launchpad for scripts, aliases, maintenance commands, and repeatable server workflows.
STEP 1
Install Termius and create a host entry.
Termius is an SSH client. SSH is the secure remote login method that lets you connect from your phone to a Linux server over the internet.
- Install Termius on your phone.
- Create a new host.
- Enter your server IP address or domain name.
- Enter the SSH username, such as
admin,debian, orubuntu. - Set the SSH port. The default is
22, but your server may use a custom port. - Add your SSH key or choose the credential method you use for that server.
- Save the host and test the connection.
STEP 2
Use SSH keys instead of typing passwords.
Password login works, but SSH keys are better for real server work. A key-based setup avoids typing your server password on a phone keyboard and reduces the risk of weak or reused passwords.
~/.ssh/authorized_keys
For a student setup, the important point is simple: keep the private key private, put only the public key on the server, and protect the key with a passphrase when possible.
STEP 3
Run safe server checks from your phone.
Start with read-only checks before running commands that change the system.
Check uptime
uptime
Check disk space
df -h
Check memory
free -h
Check listening ports
ss -lntp
Check failed logins
sudo journalctl -u ssh --since "1 hour ago"
Check web server status
sudo systemctl status nginx --no-pager
STEP 4
Update a cloud server carefully.
Updating from a phone is useful, but do it carefully. A phone is fine for routine maintenance, not for major risky upgrades.
sudo apt update
apt list --upgradable
sudo apt upgrade
do-release-upgrade or large database migrations are better
done from a laptop with a stable connection and backups ready.
AUTOMATION
Turn phone SSH into repeatable workflows.
The real power is not typing everything manually. The better approach is to create small server-side scripts, aliases, or snippets that run a known sequence safely.
Save commands as snippets
Store commands you run often, such as service checks, log views, updates, and backup status checks.
Move complex work into scripts
Instead of typing five commands on a phone, write one script on the server and run it when needed.
Schedule routine work
Use systemd timers or cron for recurring jobs so your phone is only used to check status or trigger manual tasks.
sudo systemctl status nginx --no-pager
sudo systemctl status gunicorn --no-pager
curl -I https://example.com
A better version is to put those commands in a script like check-site.sh,
then run the script from Termius:
./check-site.sh
EXAMPLE SCRIPT
Create a simple server health script.
Put this on your server as server-check.sh. It gives you a quick snapshot
of uptime, disk, memory, failed SSH messages, and web service status.
#!/usr/bin/env bash
set -euo pipefail
echo "== Host =="
hostname
uptime
echo
echo "== Disk =="
df -h /
echo
echo "== Memory =="
free -h
echo
echo "== Listening Ports =="
ss -lntp
echo
echo "== SSH Logs: Last Hour =="
sudo journalctl -u ssh --since "1 hour ago" --no-pager | tail -40
echo
echo "== Web Server =="
sudo systemctl status nginx --no-pager || true
chmod +x server-check.sh
./server-check.sh
SAFETY RULES
Do not turn convenience into a security problem.
Do not save root passwords
Use a normal user with sudo. Disable root SSH login on public servers
when possible.
Use SSH keys
Key-based login is cleaner and safer than typing passwords repeatedly on mobile.
Protect the phone
Use a strong passcode and biometric lock. If the phone is lost, saved server access becomes a serious risk.
Keep dangerous commands out of snippets
Do not save destructive commands like rm -rf, disk formatting, or
firewall resets as easy-tap snippets.
WHAT THIS UNLOCKS
Your phone becomes a small admin console.
Once your host entry, SSH keys, and scripts are set up, you can safely do small maintenance tasks from anywhere:
- Check whether a web app is running.
- Restart a service after a small config change.
- Review logs after a failed deployment.
- Run a server health script.
- Trigger a backup check.
- Confirm firewall and port status.