-
Notifications
You must be signed in to change notification settings - Fork 10.9k
CC-4634: add containers ssh docs #25076
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: production
Are you sure you want to change the base?
Conversation
Wrangler PR: cloudflare/workers-sdk#10582 Signed-off-by: flakey5 <[email protected]>
Signed-off-by: flakey5 <[email protected]>
emily-shen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you'll also need to add the ssh command to https://developers.cloudflare.com/workers/wrangler/commands/
Co-authored-by: emily-shen <[email protected]>
|
Hey there, this pull request has been automatically marked as stale because it has not had recent activity. It will be auto-closed after and additional 10 days of inactivity. If you need it open for longer, add the label |
| - SSH option for log_file | ||
| - `--escape-char` <Type text="string" /> <MetaInfo text="optional" /> | ||
| - SSH option for escape_char | ||
| - `--config-file` <Type text="string" /> <MetaInfo text="optional" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - `--config-file` <Type text="string" /> <MetaInfo text="optional" /> | |
| - `-F` or `--config-file` <Type text="string" /> <MetaInfo text="optional" /> |
| - SSH option for config-file | ||
| - `--pkcs11` <Type text="string" /> <MetaInfo text="optional" /> | ||
| - SSH option for pkcs11 | ||
| - `--identity-file` <Type text="string" /> <MetaInfo text="optional" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - `--identity-file` <Type text="string" /> <MetaInfo text="optional" /> | |
| - `-i` or `--identity-file` <Type text="string" /> <MetaInfo text="optional" /> |
| - SSH option for mac_spec | ||
| - `--ctl-cmd` <Type text="string" /> <MetaInfo text="optional" /> | ||
| - SSH option for ctl_cmd | ||
| - `--option` <Type text="string" /> <MetaInfo text="optional" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - `--option` <Type text="string" /> <MetaInfo text="optional" /> | |
| - `-o` or `--option` <Type text="string" /> <MetaInfo text="optional" /> |
| - `--ctl-cmd` <Type text="string" /> <MetaInfo text="optional" /> | ||
| - SSH option for ctl_cmd | ||
| - `--option` <Type text="string" /> <MetaInfo text="optional" /> | ||
| - SSH option for option |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - SSH option for option | |
| - Specify SSH options (can be given multiple times) |
| ```txt | ||
| wrangler containers ssh [CONTAINER_ID] [OPTIONS] | ||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ```txt | |
| wrangler containers ssh [CONTAINER_ID] [OPTIONS] | |
| ``` | |
| Connect to your container using SSH: | |
| ```console | |
| wrangler containers ssh [OPTIONS] CONTAINER_ID | |
| ``` | |
| You can also specify a command to run, instead of the default shell. For example: | |
| ```console | |
| wrangler containers ssh [OPTIONS] CONTAINER_ID -- ls -al | |
| ``` |
Summary
Adds documentation for ssh'ing into a container with wrangler
Wrangler PR: cloudflare/workers-sdk#10582
Screenshots (optional)
Documentation checklist