mirror of
https://github.com/coder/coder.git
synced 2026-06-04 05:28:20 +00:00
2bd6d2908e
I'm sorry.
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
Usage: coder config-ssh [flags]
|
|
|
|
Add an SSH Host entry for your workspaces "ssh coder.workspace"
|
|
|
|
- You can use -o (or --ssh-option) so set SSH options to be used for all your
|
|
workspaces:
|
|
|
|
[;m$ coder config-ssh -o ForwardAgent=yes[0m
|
|
|
|
- You can use --dry-run (or -n) to see the changes that would be made:
|
|
|
|
[;m$ coder config-ssh --dry-run[0m
|
|
|
|
[1mOptions[0m
|
|
-n, --dry-run bool, $CODER_SSH_DRY_RUN
|
|
Perform a trial run with no changes made, showing a diff at the end.
|
|
|
|
--ssh-config-file string, $CODER_SSH_CONFIG_FILE (default: ~/.ssh/config)
|
|
Specifies the path to an SSH config.
|
|
|
|
--ssh-host-prefix string
|
|
Override the default host prefix.
|
|
|
|
-o, --ssh-option string-array, $CODER_SSH_CONFIG_OPTS
|
|
Specifies additional SSH options to embed in each host stanza.
|
|
|
|
--use-previous-options bool, $CODER_SSH_USE_PREVIOUS_OPTIONS
|
|
Specifies whether or not to keep options from previous run of
|
|
config-ssh.
|
|
|
|
-y, --yes bool
|
|
Bypass prompts.
|
|
|
|
---
|
|
Run `coder --help` for a list of global options.
|