Wrangler supports SSH ProxyCommand for Containers
Key Points
- Use wrangler as SSH ProxyCommand
- Supports stdio forwarding and --stdio
- Connect local SSH client to container instance
Summary
Wrangler can act as an OpenSSH ProxyCommand so your local SSH client connects directly to a running Container instance. When stdin/stdout are piped, Wrangler forwards the data to the SSH server inside the Container; pass --stdio to force that mode.
Key Points
- Use Wrangler as ProxyCommand to reach a container instance from your local SSH client, e.g.
ssh -o ProxyCommand='wrangler containers ssh %h' cloudchamber@<INSTANCE_ID>. %his replaced by the SSH client with the host (use the Container instance ID as the host). You can add this to your~/.ssh/configfor convenience.- Wrangler forwards data automatically when stdin/stdout are piped; use
--stdioto force stdio forwarding. - Ensure Wrangler is installed and authenticated against your Cloudflare account before using it as a ProxyCommand.
- Practical for debugging, interactive sessions, and integrating containers into existing SSH workflows.