All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Security
Security
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

Containers - SSH through Wrangler is now enabled by default for Containers

1mo ago

Source

CloudflareContainers - SSH through Wrangler is now enabled by default for Containerscloudflare.com
Snippet from the RSS feed
SSH through Wrangler is now enabled by default for Containers . Previously, you had to set ssh.enabled to true in your Container configuration before you could connect. This change does not expose any publicly accessible ports on your Container. The SSH service is reachable only through wrangler containers ssh , which authenticates against your Cloudflare account. You also need to add an ssh-ed25519 public key to authorized_keys before anyone can connect, so enabling SSH alone does not grant access. To connect, add a public key to your Container configuration and run wrangler containers ssh : wrangler.jsonc { " containers " : [ { " authorized_keys " : [ { " name " : "" , " public_key " : "" , }, ], }, ], } wrangler.toml [[ containers ]] [[ containers . authorized_keys ]] name = "" public_key = "" To disable SSH, set ssh.enabled to false in your Container configuration: wrangler.jsonc { " containers " : [ { " ssh " : { " enabled " : false , }, }, ], } wrangler.toml [[ containers ]] [ containers . ssh ] enabled = false For more information, refer to the SSH documentation .

You might also wanna read

Comments

Sign in to join the conversation.

No comments yet. Be the first.