OpenAICloudflare Developer PlatformMay 28, 2026, 12:00 AM

Containers - Wrangler supports SSH ProxyCommand for Containers

A condensed section focused on the key takeaways first.

Original Post

Quick Digest

Summary

A condensed section focused on the key takeaways first.

openaienmodel: gpt-5-mini-2025-08-07

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>.
  • %h is replaced by the SSH client with the host (use the Container instance ID as the host). You can add this to your ~/.ssh/config for convenience.
  • Wrangler forwards data automatically when stdin/stdout are piped; use --stdio to 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.

Full Translation

Translations

A translation section that keeps the flow of the original article.

openaijamodel: gpt-5-mini-2025-08-07

コンテナ - Wrangler がコンテナ向けの SSH ProxyCommand をサポート

Wrangler がコンテナ向けの SSH ProxyCommand をサポート

公開日: 2026-05-28

Wrangler は、wrangler containers ssh を OpenSSH の ProxyCommand として使用できるようになりました。これにより、ローカルの SSH クライアントが Wrangler を経由して実行中のコンテナに接続できます。

使用例

ターミナルで次のコマンドを実行します(<INSTANCE_ID> を適切なインスタンス ID に置き換えてください):

ssh -o ProxyCommand="wrangler containers ssh %h" cloudchamber@<INSTANCE_ID>

動作

  • 標準入力(stdin)と標準出力(stdout)がパイプされている場合、Wrangler はコンテナ内の SSH サーバーへデータを転送します。
  • --stdio を渡すことで、このモードを強制的に有効にできます。

参考

詳細については SSH ドキュメントを参照してください。

Containers - Wrangler supports SSH ProxyCommand for Containers | Cloudflare Developer Platform | DocsDigest