Skip to content
Go back

Control Your Laptop From Your Phone With Termius and Tailscale

Published:  at  07:19 PM

I wanted to be able to SSH into my laptop from my phone while I’m out — pull a file, kick off a script, check on something, or push an update to this site — without needing my laptop open in front of me. Turns out this takes about ten minutes to set up with two free apps: Tailscale and Termius.

Table of contents

Open Table of contents

The idea

Once both are set up, you get a terminal on your phone that reaches your laptop anywhere it has internet — so you can run commands, git pull/git push, read or move files, check on a long-running process, or restart something, all from your pocket.

Setup

1. Enable Remote Login on your Mac

macOS ships with an SSH server, it’s just off by default.

Go to System Settings → General → Sharing and toggle Remote Login on.

2. Install Tailscale on both devices

Turn Tailscale on both devices. Your laptop now has a stable Tailscale IP (something like 100.x.x.x) that only devices on your Tailscale network can reach.

If you want to skip remembering IPs, Tailscale’s MagicDNS lets you SSH using the machine’s name instead, e.g. ssh suyash@my-laptop.

3. Set up Termius on your phone

4. Connect

Open the host in Termius. You’re now in a real shell on your laptop, routed entirely over Tailscale’s encrypted network — not the open internet.

What I actually use it for

Why this setup over the alternatives

Screen-sharing / remote desktop apps work too, but they’re heavier — you’re streaming a whole screen over a connection that might be spotty on cell data. A terminal is just text, so it stays fast and usable even on bad connections, and it’s exactly what you need if all you’re doing is running commands or checking files.

The security model is also worth calling out: Tailscale means your laptop’s SSH port is never exposed to the public internet at all — only devices you’ve authorized onto your private Tailscale network can even attempt to reach it. Combine that with key-based auth (no passwords) and you’ve got a setup that’s both convenient and reasonably locked down.


Write a comment

Next Post
I Made a Better Way to Read the Mahabharata Online