Add an SSH Host entry for your workspaces "ssh coder.workspace"
coder config-ssh [flags] - You can use -o (or --ssh-option) so set SSH options to be used for all your
workspaces:
$ coder config-ssh -o ForwardAgent=yes
- You can use --dry-run (or -n) to see the changes that would be made:
$ coder config-ssh --dry-run| Type | bool |
| Environment | $CODER_SSH_DRY_RUN |
Perform a trial run with no changes made, showing a diff at the end.
| Type | string |
| Environment | $CODER_SSH_CONFIG_FILE |
| Default | ~/.ssh/config |
Specifies the path to an SSH config.
| Type | string |
Override the default host prefix.
| Type | string-array |
| Environment | $CODER_SSH_CONFIG_OPTS |
Specifies additional SSH options to embed in each host stanza.
| Type | bool |
| Environment | $CODER_SSH_USE_PREVIOUS_OPTIONS |
Specifies whether or not to keep options from previous run of config-ssh.
| Type | bool |
Bypass prompts.