openaienmodel: gpt-5-mini-2025-08-07
SSH into running Container instances
Key Points
- SSH into running Container instances
- Enable wrangler_ssh and add ssh-ed25519 key
- Use wrangler containers ssh to connect
Summary
You can now SSH into running Cloudflare Container instances using Wrangler. This lets engineers debug, inspect processes, and run one-off commands inside a live Container.
Key Points
- Enable SSH access in your container config by setting
wrangler_ssh.enabled = trueand add yourssh-ed25519public key underauthorized_keys(withnameandpublic_key). - Find a running instance ID with:
wrangler containers instances <APPLICATION>
- Connect to an instance:
- Interactive shell:
wrangler containers ssh <INSTANCE_ID> - Run a single command:
wrangler containers ssh <INSTANCE_ID> -- ls -al
- Interactive shell:
- Use this for debugging, inspecting running processes, or executing one-off commands. Refer to the SSH docs for full details and config examples.