{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "farlume-termish--keep-remote-task-alive-on-mobile-network",
 "repo": "farlume/termish",
 "repo_url": "https://github.com/farlume/termish",
 "repo_slug": "farlume-termish",
 "title": "Keep a remote terminal task alive on a weak network",
 "page_title": "How to keep a remote terminal task alive on a weak network with Termish",
 "summary": "Use Mosh with a tmux session so long-running commands survive phone sleep and network changes.",
 "who": "A developer who starts a long build or agent session on a server and needs it to keep running while the phone moves between networks or sleeps.",
 "problem": "Standard SSH sessions drop when the connection changes or the app goes to the background, which can interrupt work.",
 "outcome": "The terminal reconnects after network roaming, and the remote program keeps running inside a named tmux session.",
 "steps": [
  "Open the host in Hosts and choose Mosh in the host's connection settings.",
  "On the remote, make sure `mosh-server` is installed and a UDP port is reachable; accept guided installation if it is missing.",
  "Set the startup command to `tmux new -A -s main` in the host settings.",
  "Start the long-running task inside the tmux session.",
  "Reconnect later from the same host; the session should still be running."
 ],
 "agent_prompt": "Using the farlume/termish README, describe how to set up a Mosh connection to <host> that starts the command `tmux new -A -s main`. Expected output: a checklist covering mosh-server, UDP reachability and the startup command. Verify that the checklist includes the note that tmux or Mosh is needed for terminal continuity.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README says iOS suspends the app in the background, so long tasks still depend on tmux or Mosh on the remote host.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "kotlin",
 "requirements": [
  "An Android 8.0+ phone or an iOS device with macOS and Xcode for building",
  "A reachable development machine or server with SSH access (Mosh also needs UDP and mosh-server)",
  "Login credentials or a private key for that remote host",
  "For builds: JDK 17, the Android SDK and Rust via rustup"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/farlume-termish/keep-remote-task-alive-on-mobile-network/",
 "md": "https://dedupedai.com/use-cases/farlume-termish/keep-remote-task-alive-on-mobile-network/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/farlume-termish--keep-remote-task-alive-on-mobile-network.json",
 "api_version": "v1"
}
