# How NovaScale connects to Herdr TUI and Herdr Core over SSH

Canonical: https://galaxnet.dev/nova/articles/herdr-tui-and-core-over-ssh/
Language: en-US

Return to a running Herdr TUI pane or open an agent’s terminal from a Core Space on iPhone and iPad, using built-in Tailscale and your existing SSH login.











If you leave a coding agent running on your Mac or Linux machine, you can pick up at its prompt from your phone. In Herdr TUI, that prompt belongs to a pane in a named session. In Herdr Core, it belongs to a terminal you might know by its place in a desktop Space. NovaScale 2.0.0 can open either one on iPhone or iPad.

| Runtime | Where work runs | SSH bridge command | File transfer & handoff | Alerts after disconnect |
| --- | --- | --- | --- | --- |
| **Herdr TUI** | Named sessions started with `herdr` | `herdr … remote-client-bridge` | SFTP transfer to the session (Pro) | Optional open-source host notification agent |
| **Herdr Core** | Terminals and desktop Spaces managed by Core | `herdr-core` / `hc connect --session default` | Native upload (Free & Pro, up to 8 MiB/file), image paste, iOS Share sheet | In-app & background local alerts while connected; remote push planned when upstream adds host hooks |

## How the phone reaches the host

For a private machine on your tailnet, sign in to Tailscale inside NovaScale and pick the host on **Home**. Built-in Tailscale gives the app a route to the machine without a device-wide VPN. SSH then authenticates you as the remote user who runs Herdr. If you already reach the machine by a LAN address or hostname, a traditional SSH host works the same way. [Connect to a tailnet host](../../manual/start/connect-to-your-tailnet/) · [Connect with traditional SSH](../../manual/start/connect-with-ssh/)

For a live Herdr session, SSH is the only service NovaScale needs to reach. Once signed in, the app opens channels on that connection to find the installed Herdr executable and talk to it. Herdr can keep its own socket local to the host. **NovaScale never installs closed-source software on your host.**

## Return to a pane in Herdr TUI

Suppose an agent is waiting for your answer in a session named `release`. In NovaScale, open the host’s **Herdr** view, choose **Herdr TUI**, and select `release`. Tap the agent in the list to focus its pane, even if it sits in another workspace. Type your answer there. When you detach, the pane and its process keep running on the host.

To make that tap work, NovaScale runs Herdr’s own `remote-client-bridge` for the selected session over SSH. Herdr sends the session layout and screen updates to the phone. When you select an agent, NovaScale sends Herdr the pane ID to focus. [Herdr TUI’s remote session model](https://herdr.dev/tui/docs/persistence-remote/)

### Detect Herdr TUI from the regular SSH terminal

In the host’s SSH configuration, open **Terminal Options** and turn on **Herdr TUI Auto-Detect**. It’s off by default. Next time you open **Terminal** for that host, NovaScale checks for `herdr` and lists the running TUI sessions for your SSH account. Tap `release` to attach with Herdr’s terminal interface. With Herdr installed, you can also choose **New Session** to start a named session or **Plain Shell** to continue at the shell prompt.

## Open an agent’s terminal from a Herdr Core Space

Suppose you left an agent testing your website in the `web` Space on your Mac. In NovaScale’s **Herdr** view, choose **Herdr Core**, open **Spaces**, expand `web`, and tap the live terminal. If you remember the agent’s question more readily than its Space, open **Inbox** to find the terminal that reported it.

For Core, NovaScale locates `herdr-core` (or `hc`) and runs `connect --session default` over SSH. It reads the terminal list and available Space layout, then asks Core to attach to the terminal you selected. The SSH channel carries the terminal’s output back to the phone and your keystrokes back to that terminal. You can put the phone away and return to the same running process. [Herdr Core](https://herdr.dev/core/) · [Herdr Core’s OpenRPC terminal API](https://github.com/herdrdev/herdr-core/blob/v0.1.22/schema/hc.openrpc.json)

### Create terminals and send screenshots from iOS

Inside a Herdr Core workspace, you can start a new terminal in the current Space and working directory without switching back to your desk. You can also upload files natively (Free and Pro, up to 8 MiB per file), paste an image directly into the active terminal, or send a photo, file, or screenshot to a Herdr Core agent from the iOS share sheet—even when its terminal is inactive.

## Alerts while connected and after disconnect

Both live views work with Remote Push turned off. While NovaScale can observe a session, detached Herdr TUI and Herdr Core terminals show in-app banners naming the host and terminal, and can post local iOS alerts when **Background Terminal Alerts** is enabled in Terminal Settings. If you also want push notifications for Herdr TUI while NovaScale is disconnected, you can enable the separate open-source notification agent on your host. [How notifications work](../../manual/notifications/in-app-and-local/) · [Notification agent source](https://github.com/GalaxNet-Ltd/nova-codex-bootstrap)

Deciding between mobile Herdr clients? Compare [NovaScale vs the official Herdr mobile app](../../compare/herdr-mobile/) or [NovaScale vs Moshi](../../compare/moshi/).


