cloudflare / cloudflare/developer-platform
Unable to SSH to Running Container Instance
- Dominant language
- No language data
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### What versions & operating system are you using?
Binaries:
Node: 25.8.1 - /opt/homebrew/bin/node
Yarn: 1.22.22 - /opt/homebrew/bin/yarn
npm: 11.11.0 - /opt/homebrew/bin/npm
Deno: 2.7.5 - /opt/homebrew/bin/deno
Watchman: 2026.03.09.00 - /opt/homebrew/bin/watchman
npmPackages:
@cloudflare/containers: 0.0.30 => 0.0.30
wrangler: ^4.73.0 => 4.73.0
### Please provide a link to a minimal reproduction
container instance
### Describe the Bug
Hi Team,
I am seeing this error when I try to SSH to container. The container is running and not Inactive.
https://developers.cloudflare.com/changelog/post/2026-03-12-ssh-support/
Steps below
- create a container from template `npm create cloudflare@latest -- --template=cloudflare/templates/containers-template`
- wrangler deploy
- generate a ssh key and copy the public key to wrangler.jsonc
- redeploy with wrangler
- checked the container instance at /container/instance-0, returned response with instanceID
- tried to ssh to container instanceID
- failed with no .env and .env.local file
- created the files .env and .env.local in the project
- docker up and running locally while deployed the container
- checked the container instance at /container/instance-0, returned response with instanceID
- logs in the container were up
### Please provide any relevant error logs
Error below.
--- 2026-03-14T02:40:26.555Z error
✘ [ERROR] SSH exited unsuccessfully. Is the container running?
NOTE: SSH does not automatically wake a container or count as activity to keep a
container alive
---
--- 2026-03-14T02:40:26.556Z debug
Error: SSH exited unsuccessfully. Is the container running?
NOTE: SSH does not automatically wake a container or count as activity to keep a container alive
at ChildProcess. (/opt/homebrew/lib/node_modules/wrangler/wrangler-dist/cli.js:142548:11)
at ChildProcess.emit (node:events:520:22)
at ChildProcess.emit (node:domain:489:12)
at ChildProcess._handle.onexit (node:internal/child_process:294:12)
Could you please help?
Command ran
```
wrangler containers ssh INSTANCE_ID -- ls-al
```
Contributor guide
Assessment
This issue has not been assessed yet.