DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to run Claude Code against a remote box without installing it there with Agentreach

Point Claude Code at an SSH host so its shell and file work run on that host.

Who it is forA developer who needs to diagnose or fix something on a build box or VM and wants an agent to help, but does not want a 300 MB agent install or an API key on a machine other people can access.

The problemInstalling a coding agent on a remote machine puts its binary and API key on a box you do not own or will not keep, and the key stays behind after you leave.

The outcomeThe agent runs locally, its commands and file reads or writes happen on the target, and nothing is left on the target after the session closes.

What you need first

  • Go toolchain, or a pre-built reach binary from the releases page
  • An ssh binary on your machine that already reaches the target
  • The coding agent installed on your local machine, such as Claude Code or Codex
  • Access to the target over SSH, with keys or config already set up

Steps

  1. Install reach with go install github.com/bojieli/agentreach/cmd/reach@latest
  2. Start the session with reach build-box claude, using your ssh_config alias or a host:path target
  3. Ask the agent a question about the box, for example what is using disk space, and let it run commands
  4. Review what it did with reach log
  5. Close the session with reach down build-box-app or the session name shown by reach status

Prompt for your agent

Use the repo bojieli/agentreach to run Claude Code against <target>, for example build-box:/srv/app. Ask it what is using disk space on the target and confirm the commands ran there by checking `reach log`. Expected output: a disk usage summary from the target, and log entries showing exec commands with status ok.

Caveat. Claude Code is the harness the README names for mirror mode, and reach relies on the ssh binary you already have, so ProxyJump, IdentityFile and 2FA behave as they do in your ssh config.

Share: X LinkedIn Hacker News Email Copy link

Disclaimer

Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page