Reach your home server from iPhone with Tailscale

You can reach your own server from iPhone or iPad by joining it and your iOS device to the same Tailscale network. Once SSH is reachable over that network, open the server in Kodo and resume work in tmux.

Download Kodo on the App Store

By Theodor Tiberius StefanUpdated

How to get started

  1. Install Tailscale on the server and the iPhone or iPad. Join the same tailnet and confirm that both devices appear in the device list. [source: Tailscale]
  2. Make sure the host is running an SSH server and your tailnet policy permits access. Use its Tailscale address or configured DNS name in Kodo.
  3. Open Connections in Kodo and sign in to your host. Check that the account can access your project directory.
  4. Use SFTP to move an example file to your home directory. Inspect it in the remote terminal and run it with the tools installed there.
  5. Use a named tmux session for long-running work. Reattach with the same user after reconnecting.
pwd
tmux new -As home-dev

Limits to know

You need an authorized account, permission for the project directory and a running, reachable host. Use a designated test directory before transferring files to a live project.

Frequently asked questions

Where does the script run?

On the host in this SSH workflow. Its installed toolchain determines what you can run.

Do I need a public SSH port?

For a private reachable network, connect to the host’s private address under its access policy. [source: Tailscale]

Do I need to keep Kodo in the foreground?

A session in tmux can stay active on the host even if your SSH connection closes. [source: tmux]

Can I transfer files and run commands?

Yes. Transfer with SFTP and switch to SSH to run commands. [source: App Store]

Related guides

Download Kodo on the App Store Read the Kodo guide

App Store release 5.6 ·