{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "cristicretu-diri--run-agents-on-a-remote-ssh-host",
 "repo": "cristicretu/diri",
 "repo_url": "https://github.com/cristicretu/diri",
 "repo_slug": "cristicretu-diri",
 "title": "Run coding agents on an SSH host you control",
 "page_title": "How to run coding agents on an SSH host you control with Diri",
 "summary": "Start agent sessions on a remote machine you own, without tmux, sudo, or a hosted relay.",
 "who": "A developer whose code or compute lives on a remote server and who wants agents to run there.",
 "problem": "Long agent runs tie up a laptop, and remote setups usually need extra tools or a hosted service.",
 "outcome": "Agents run on your SSH host while you monitor and review them from Diri.",
 "steps": [
  "Install the app with `brew install --cask cristicretu/diri/diri`.",
  "Add an SSH host you control in Diri.",
  "Start an agent session on that host.",
  "Close the app and reopen it to confirm the session is still running.",
  "Review the session's changes once the agent finishes."
 ],
 "agent_prompt": "Using the diri repo at github.com/cristicretu/diri, start an agent session on the SSH host <ssh-host>, then close and reopen Diri. Output the session status before and after the restart, and verify the session still runs.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README says the feature works on any SSH host but does not list supported host setups, so test with a non-critical host first.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "rust",
 "requirements": [
  "macOS 15 or newer on Apple silicon or Intel, or x86_64 Ubuntu 22.04 or 24.04 for the Linux beta",
  "Terminal coding agent CLIs and accounts already installed on your machine, such as Claude Code, Codex, Cursor, or Gemini",
  "A Git repository to work in, since each agent can get its own Git worktree and branch",
  "For remote runs: an SSH host you control"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "Remote runs use SSH access to a host you control, so protect the keys and only connect to hosts you own."
  }
 ],
 "best": false,
 "score": 0.6,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/cristicretu-diri/run-agents-on-a-remote-ssh-host/",
 "md": "https://dedupedai.com/use-cases/cristicretu-diri/run-agents-on-a-remote-ssh-host/index.md",
 "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 hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/cristicretu-diri--run-agents-on-a-remote-ssh-host.json",
 "api_version": "v1"
}
