{
  "slug": "wrangler-containers-ssh-supports-forced-pseudo-terminal-allocation-fd8c162e686f",
  "title": "wrangler containers ssh supports forced pseudo-terminal allocation",
  "tools": [
    "wrangler"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-09-29T21:23:49.000Z",
  "announced_at": "2026-09-29T21:23:49.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When running an interactive shell as a remote command, pass `--tty` before the command to force pseudo-terminal allocation.",
    "examples": [
      "wrangler containers ssh <INSTANCE_ID> --tty -- bash"
    ],
    "gotchas": [
      "Version: 4.144.0",
      "INSTANCE_ID (required): ID of the running Container instance to SSH into.",
      "--tty (-t): Force pseudo-terminal allocation.",
      "-- <remote command>: Run the specified command instead of the default shell.",
      "Prerequisite: The Container must be running, SSH must be configured, and a matching public key must be in `authorized_keys`.",
      "Docs conflict: The current Wrangler command reference documents `containers ssh` and remote commands but does not list `--tty` or `-t`; the release note for v4.144.0 documents the flag. No differing behavior is documented."
    ]
  },
  "why_it_matters": "When opening an interactive shell in a Container with a remote command, allocate a pseudo-terminal so the shell has a prompt and line editing.",
  "before": "For a remote command such as `bash`, SSH did not allocate a pseudo-terminal by default; the release note says to pass `--tty` to force one.",
  "sources": [
    "https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.144.0",
    "https://developers.cloudflare.com/workers/wrangler/commands/containers/",
    "https://developers.cloudflare.com/containers/ssh/"
  ],
  "rank": 0.97015,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "gap-20261007",
    "verdict_id": "gap-20261007:gap-20261007-0fc7c745753389b7-0:gate",
    "evidence_hash": "edfe346d5c4997c2cc8f393debced983f23f72b57ea978de803d97c7f7a84222"
  },
  "review": {
    "draft_hash": "8ad22f92342b8f77a092001e584d041a7a20ee23d32f557adb7dcef482ee51c9",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "gap-20261007:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.76 (>= 0.6 needed)."
  }
}
