You can now SSH into running Container instances using Wrangler. This is useful for debugging, inspecting running processes, or executing one-off commands inside a Container.
To connect, enable wrangler_ssh in your Container configuration and add your ssh-ed25519 public key to authorized_keys:
wrangler.jsonc { "containers": [ { "wrangler_ssh": { "enabled": true }, "authorized_keys": [ { "name": "", "public_key": "" } ] } ]} wrangler.toml [[containers]][containers.wrangler_ssh]enabled = true
[[containers.authorized_keys]]name = ""public_key = ""
Then connect with:
wrangler containers ssh
You can also run a single command without opening an interactive shell:
wrangler containers ssh -- ls -al
Use wrangler containers instances to find the instance ID for a running Container.
For more information, refer to the SSH documentation.
Fetched April 4, 2026