Using Herdr from a phone

By

Updated

Tagged: AI

Connect to a persistent Herdr session from a phone over SSH, use the narrow-screen interface, and safely check running coding agents.

You can use Herdr from a phone with a normal SSH client. This guide covers the Herdr terminal app, so there’s no browser dashboard or special app involved. Since November 9, 2026, Herdr also has a mobile app for iPhone, iPad, and Android, but it only connects to herdr-core, the runtime under the new desktop app.

Install an SSH client on your phone, connect to the machine where Herdr and your coding agents run, and start or reattach Herdr:

ssh you@server
herdr

Your persistent terminal session opens right on the phone. Herdr adapts its layout to a narrow screen, so I can check agents, switch workspaces, answer a question, or confirm that a command finished.

I wouldn’t write a large feature from a phone. I use it to check on work that’s already running. For how this SSH path compares to Codex Cloud, Grok Bot, Cursor, and the rest, see How to work with coding agents from your phone.

The Herdr mobile app

On November 9, 2026, Herdr released a mobile app, free on the App Store and Google Play.

It talks to herdr-core on each machine over SSH, with no Herdr account or server in between. It lists every agent on every machine in an Inbox sorted by what each one needs from you, and opens its real terminal when you tap it. You can type, paste a screenshot, or dictate your answer.

It doesn’t work with the terminal app. The terminal app runs its own server, so agents you start there never show up in the mobile app. If your agents run in the terminal app, the SSH workflow in the rest of this guide is the way in. If you use the desktop app, install the mobile app instead. The mobile app section of my Herdr guide has the details.

What you need

You need three things:

  1. A machine that stays online.
  2. Herdr installed on that machine.
  3. An SSH client on your phone.

That machine can be a VPS, a home server reachable through a secure network, or another computer you control. Your code, credentials, Herdr server, panes, and agents all stay on that machine. The phone is just an SSH terminal connected to it.

On iPhone, Herdr’s docs use Moshi, and other iOS and Android SSH clients work too. Pick one that supports SSH keys and gives you easy access to Control, Escape, Tab, and arrow keys.

If SSH is new to you, my free SSH course covers keys, host verification, config files, and remote commands.

Prepare the remote machine

Install Herdr on the machine where your work runs. On Linux or macOS, run:

curl -fsSL https://herdr.dev/install.sh | sh

Verify the installation:

herdr --version

Start a session in your project folder:

cd ~/projects/my-app
herdr

Run your coding agent, development server, or tests inside panes. When you’re ready to step away, detach with ctrl+b, then q. The Herdr server and its pane processes keep running after you leave the terminal.

Configure SSH keys

Typing a long server password on a phone gets old fast, and it weakens the setup. Generate an SSH key protected by your phone’s secure storage or biometrics, then add the public key to ~/.ssh/authorized_keys on the remote account.

Before you rely on the mobile connection, test it:

ssh you@server

The first connection shows the server’s host key. Verify the fingerprint through a trusted channel before accepting it, and don’t copy a private SSH key into a chat, a note, or your project repository.

Connect and open Herdr

From your phone’s SSH client, connect and launch Herdr:

ssh you@server
herdr

If Herdr is already running, herdr attaches to it; if not, it starts a new server. You don’t need to manage a socket or remember a generated session name for the default workflow.

If you want a named session instead:

herdr session list
herdr session attach work

Named sessions make sense when you need completely independent Herdr servers, though for most people separate workspaces inside the default session are simpler.

Use an SSH config name

A short host name saves a lot of typing. On a computer, your SSH config might look like this:

Host workbox
  HostName server.example.com
  User you
  Port 2222
  IdentityFile ~/.ssh/id_ed25519

Most mobile SSH apps have a host profile screen that does the same thing. Once it’s set up, connecting becomes:

ssh workbox
herdr

The app stores the host, port, user, and key for you. You’ll still verify the server identity the first time you connect.

Herdr keeps the real terminal view and adjusts the surrounding workspace interface when the screen is narrow. On my phone, I stick to a few quick actions:

The default prefix is ctrl+b, and here are the most useful keys:

ActionKeys
Workspace navigationctrl+b, then w
Next tabctrl+b, then n
Previous tabctrl+b, then p
Zoom active panectrl+b, then z
Show active bindingsctrl+b, then ?
Detachctrl+b, then q

Use your SSH app’s extra keyboard row if your phone keyboard doesn’t expose Control or Escape. The keys are sequential: press ctrl+b, release it, then press the second key. You’ll find the full default keymap in Herdr keyboard shortcuts.

A practical mobile workflow

I start the real task from a laptop or desktop:

cd ~/projects/my-app
herdr

In one pane, I run the agent:

codex

In another pane, I run the development server:

npm run dev

Then I detach:

ctrl+b, then q

Later, I reconnect from my phone:

ssh workbox
herdr

The original processes are still running. I check the sidebar and focus whichever pane needs attention, whether that’s reading an agent’s question or summary, or checking why the development server failed. When I’m done, I detach again.

If you’d rather get a message than check manually, a plugin can send one. The agent-telegram-notify example from the Herdr docs messages you on Telegram when an agent finishes, and my guide to Herdr plugins shows how to install and configure it.

Normal SSH or herdr —remote?

Herdr supports two remote workflows. On a phone, the right path is normal SSH:

ssh you@server
herdr

Here, the shell, Herdr client, server, agents, and panes all run remotely.

From a laptop, I can use Herdr’s local thin client instead:

herdr --remote workbox

That command starts locally and connects to the remote Herdr server over SSH. It keeps local keybindings and can bridge a local clipboard image to the remote machine. On a phone, normal SSH is simpler and doesn’t require a local Herdr binary.

What happens if the connection drops?

Dropping the SSH connection won’t kill the Herdr server. Your phone can switch networks, go to sleep, lose reception, or close the SSH app in the background. The attached client disconnects, but the server-owned panes keep running.

When you’re back online, reconnect:

ssh workbox
herdr

You drop right back into the live terminals. It’s the same reason Herdr works well on an unreliable laptop connection.

Keep in mind that persistence depends on the Herdr server and the remote machine staying up. A server reboot is different from a dropped SSH connection. After a full Herdr server restart, Herdr restores the workspace shape, while arbitrary processes don’t survive. Supported agent conversations can resume when an official integration recorded their native session IDs.

Detach when you are done

Press ctrl+b, then q to close the Herdr client and leave the session running. Don’t run:

herdr server stop

That stops the session and exits its pane processes.

Closing the SSH app on its own still leaves the server running, though I prefer detaching explicitly because it drops me cleanly back to the remote shell while the pane processes keep running.

Security checklist

A persistent agent session can access your code and the credentials available to its remote user. Before exposing SSH:

Herdr doesn’t add a hosted account or web control plane, so you aren’t opening another service on the internet. Everything depends on your SSH setup, so lock that down properly.

Troubleshooting

The phone cannot connect

Make plain SSH work first. Check the host, port, user, key, firewall, and whether the remote machine is online.

Herdr is not found

A non-interactive or remote shell can have a different PATH. Run this to check:

command -v herdr

If needed, add the install directory to your remote shell’s PATH and reconnect.

Control keys are hard to enter

Enable your SSH app’s accessory keyboard row, or remap the Herdr prefix to a chord the app can send reliably. Open the active binding list with ctrl+b, then ? before changing your config.

The screen is too cramped

Zoom the pane you need with ctrl+b, then z. Use workspace navigation instead of trying to keep several panes visible at once, and rotate the phone to landscape when you need more columns.

My recommendation

Set this up before you need it. Create the SSH key, verify the server fingerprint, start Herdr, detach, and test the full reconnect flow from your phone.

I use it for quick check-ins: seeing how an agent is doing, answering a question, confirming a deployment, or reading a failing log, then detaching again.

You can also read the official mobile workflow in How to work with Herdr.

Want me to talk about your product? You can sponsor this site.

Related posts about ai: