{"slug": "t3-code-over-ssh-run-agents-in-a-cloud-workspace-cosyra", "title": "T3 Code over SSH: Run Agents in a Cloud Workspace | Cosyra", "summary": "T3 Code's desktop app can now run its coding agents on a remote Ubuntu machine over SSH, with Cosyra documenting a setup that installs T3 Code's own server inside a Cosyra cloud workspace so Claude Code, Codex, terminals and Git run there instead of on the user's laptop. The walkthrough requires installing the Cosyra CLI, running `cosyra ssh-config` to add a `cosyra` host, waking the workspace with `ssh cosyra 'echo connected'`, then adding an SSH environment under Settings > Environments in T3 Code; the first install took about 3 minutes in Cosyra's tests, and T3 Code waits only 10 seconds for SSH, so a starting workspace can time out. Cosyra notes the same workspace is reachable from its phone app, and that leaving T3 Code open keeps the workspace awake and consuming compute hours.", "body_md": "**T3 Code's desktop app can run its agents on another machine over SSH.\n      Point it at the `cosyra` host and it runs them in your Cosyra\n      cloud workspace.** T3 Code installs its own server in the workspace, so Claude Code, Codex, terminals\n    and Git all run on a cloud Ubuntu machine instead of your laptop. No plugin is\n    needed.\n\n**tl;dr**\n\nInstall the Cosyra CLI and choose **SSH setup** in the menu it\n      opens. Run `ssh cosyra 'echo connected'` to wake the workspace. In\n      T3 Code open Settings > Environments > Add environment > SSH, type `cosyra`\nand pick it from the suggestions. The first add takes about 3 minutes.\n\n## How it works\n\n| Where | What runs there | \n|---|---|\n| Your computer | The T3 Code desktop app, and the Cosyra CLI, which opens the SSH connection | \n| Your Cosyra workspace | T3 Code's server, your repos, the agents and the terminals T3 Code opens | \n\n## Connect T3 Code to Cosyra\n\nStep 1\n\n### Install the Cosyra CLI\n\nRun this in a terminal on the Mac or Linux computer where you use T3 Code. When the install finishes, it opens the Cosyra menu.\n\n```\ncurl -fsSL https://cosyra.com/install.sh | bash\n```\n\nStep 2\n\n### Sign in and set up SSH\n\nIn the Cosyra menu, choose **SSH setup**. It signs you in to\n      your Cosyra account if needed, then adds a `cosyra` host to your\n      SSH config. No SSH keys are created or uploaded.\n\nWithout the menu, open a new terminal and run:\n\n```\ncosyra auth login\ncosyra ssh-config\n```\n\nStep 3\n\n### Wake the workspace\n\nRun this and wait for it to print `connected`. It wakes your\n      workspace, or creates it the first time. T3 Code waits only 10 seconds for\n      SSH, and a workspace that is starting can take longer.\n\n```\nssh cosyra 'echo connected'\n```\n\nStep 4\n\n### Add the SSH environment in T3 Code\n\nIn T3 Code open **Settings**, then\n**Environments**, and click **Add environment**.\n      Choose **SSH**, type `cosyra` in\n**SSH host or alias** and pick `cosyra` from the\n      suggestions. T3 Code reads the host from your SSH config, fills in the username\n`azureuser` and starts adding the environment. Pick it from the list\n      rather than typing it out: a typed host leaves the username empty.\n\nT3 Code's first-run screen only offers pairing links. SSH is only in Settings.\n\nStep 5\n\n### Wait for the first install\n\nThe first time, the dialog shows **Adding…** while T3 Code downloads\n      its server into the workspace and starts it. This took about 3 minutes in our\n      tests. Then the environment appears as\n**Connected**, named after the workspace's machine (`terminal-user-…`).\n\nStep 6\n\n### Add a project from the workspace\n\nClick **Add project** and pick the workspace environment (`terminal-user-…`), not **This device**. Choose\n**Local folder**: the folder picker now browses the\n      workspace's home directory. Select a folder and press Enter.\n\nStep 7\n\n### Start a thread\n\nStart a thread in the project. The agent runs in the workspace, and T3\n      Code's terminal panel opens a shell there: `hostname` prints the\n      workspace's machine name.\n\n **The same workspace is on your phone.** Your repos and signed-in\n      agents are in the Cosyra app too, ready in a terminal when you are away from\n      the laptop.\n\n## What to expect\n\n| You do this | What happens | \n|---|---|\n| Add the environment the first time | About 3 minutes on Adding…, then Connected. | \n| Open T3 Code while the workspace is asleep | T3 Code wakes it and reconnects. Under a minute in our tests. | \n| Leave T3 Code open | The workspace stays awake and uses compute hours. | \n| Quit T3 Code | The workspace goes to sleep on its normal idle timer. Your threads stay in the workspace. | \n\n## Troubleshooting\n\n-  **`Not logged in. Run 'cosyra auth login' first.`** The Cosyra CLI on this computer is signed out. Run` cosyra auth login` , then click Add environment again.\n-  **`Connection timed out during banner exchange`.** T3 Code waits 10 seconds for SSH, and a workspace that is starting can take\n      longer. Run`ssh cosyra 'echo connected'` to wake it, then click\n      Add environment again.\n-  **`HTTP 403: no_entitlement`.** The account has no active\n      plan. Plans start at $20 a month.\n-  **`cosyra` is not in the host list.** Run`cosyra ssh-config` , then open Add environment again.\n\n## FAQ\n\n### Do I need a T3 Code plugin?\n\nNo. T3 Code's desktop app has SSH environments built in. It runs your computer's `ssh`, which reads the `cosyra` host that `cosyra ssh-config` writes. That host connects through the Cosyra CLI, so there are no SSH keys to upload and no port to open.\n\n### Which agents can T3 Code use in the workspace?\n\nThe ones installed and signed in there. Claude Code and Codex come pre-installed in every Cosyra workspace. T3 Code shows an agent as ready once it is signed in, so sign in once from a terminal in the workspace, for example by running `claude` in T3 Code's terminal panel.\n\n### Does an open T3 Code keep my workspace awake?\n\nYes. T3 Code keeps its SSH connection open, so the workspace stays awake and uses compute hours. If you put the workspace to sleep while T3 Code is open, T3 Code wakes it again in about 15 seconds. Quit T3 Code when you are done and the workspace goes to sleep on its normal idle timer.\n\n### What happens to my threads when I quit T3 Code?\n\nThey stay in the workspace, in `~/.t3`. When you open T3 Code again it wakes the workspace and reconnects. In our tests that took under a minute, and every thread was still there.\n\n### Can I use the T3 Code phone app?\n\nNot with this setup. T3 Code's mobile app has no SSH environments, so it cannot reach the workspace this way. On your phone, the Cosyra app opens terminals in the same workspace.\n\n### How much space does T3 Code use in the workspace?\n\nAbout 360 MB in `~/.t3` after the first install, counted against your workspace storage.\n\n**Recap**\n\nT3 Code connects to your Cosyra workspace with its built-in SSH\n      environment. Install the CLI, choose **SSH setup**, wake the\n      workspace with `ssh cosyra`, then add `cosyra`\nunder Settings > Environments > Add environment > SSH. Your agents and terminals run in the cloud.", "url": "https://wpnews.pro/news/t3-code-over-ssh-run-agents-in-a-cloud-workspace-cosyra", "canonical_source": "https://cosyra.com/guides/t3-code-cosyra.html", "published_at": "2026-11-02 00:00:00+00:00", "updated_at": "2026-11-05 13:27:48.280844+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "ai-infrastructure"], "entities": ["T3 Code", "Cosyra", "Claude Code", "Codex", "Git", "Ubuntu"], "also_reported_by": [], "takeaway": "T3 Code installs its server into a Cosyra workspace over SSH, taking about 3 minutes on first add, and because T3 Code waits only 10 seconds for SSH, users must wake the workspace with `ssh cosyra 'echo connected'` before adding the environment.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/t3-code-over-ssh-run-agents-in-a-cloud-workspace-cosyra", "markdown": "https://wpnews.pro/news/t3-code-over-ssh-run-agents-in-a-cloud-workspace-cosyra.md", "text": "https://wpnews.pro/news/t3-code-over-ssh-run-agents-in-a-cloud-workspace-cosyra.txt", "jsonld": "https://wpnews.pro/news/t3-code-over-ssh-run-agents-in-a-cloud-workspace-cosyra.jsonld"}}