Hive RC — Remote Control
Control Hive on another computer over SSH, use saved machines, and switch between remote agents.
Hive can run agents on another computer while you use the CLI and multiplexer locally. The remote machine runs its own Hive daemon and agent processes; your local client displays and controls them over your existing SSH connection.
Run a one-off remote command
Use --remote <host> before a command. The host is an SSH destination, so your normal ~/.ssh/config, keys, and SSH agent apply:
hive --remote me@build-box agent listhive --remote me@build-boxThe first connection may ask to install or update Hive on the remote machine. Review the prompt before accepting. Use --yes only when you intentionally want an automated install or update.
Paths passed to a remote command, such as --cwd, refer to paths on the remote machine.
Save a machine
For a machine you use often, give it a short name:
hive machine add build me@build-boxhive machine statushive --machine build agent listThe multiplexer can list saved machines and their agents in the sidebar. Select a machine or agent to view its workspace. Useful machine commands include:
hive machine listhive machine status buildhive machine reconnect buildhive machine disable buildhive machine remove buildRemoving a machine forgets its local connection record; it does not stop the daemon or agents on the remote host.
Connection model
Hive uses SSH to run hive proxy remotely and bridge the connection to that host’s local daemon socket. It does not open a public network port. SSH authentication and host-key checking remain governed by your OpenSSH configuration.
Screen updates are compressed and paced for remote links. Tune the per-client data limit with remote.frame_budget_kb in the configuration. Lowering the budget reduces bandwidth and can make screen updates arrive less often.
Pasted images (Ctrl+B, then I) travel inside the same connection, split into small pieces between your keystrokes and paced by remote.image_budget_kb. The clipboard is always read on your local machine. See Images and Terminal Graphics.
Remote hosts must run macOS or Linux. Windows works as the client, using its built-in OpenSSH, but cannot be a remote host; see Platforms and Windows.
Watch without control
To give a dashboard, bot, or browser read-only access to a remote machine, use an observer credential instead of full SSH control. hive proxy --observer behind a restricted SSH key reaches only the read-only observer socket. The web observer builds on this to show remote agents in a browser or on your phone.
For connection errors, first verify that ssh <host> works in a regular terminal, then see Troubleshooting.