You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add configurable SSH flags via coder.sshFlags setting (coder#670)
- Add `coder.sshFlags` setting for passing custom flags to `coder ssh`
- Watch SSH-related settings and prompt user to reload when changed
- Renames `globalFlags.ts` → `cliConfig.ts` to consolidate CLI configuration logic
Closescoder#666
Copy file name to clipboardExpand all lines: package.json
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -120,6 +120,16 @@
120
120
"type": "boolean",
121
121
"default": false
122
122
},
123
+
"coder.sshFlags": {
124
+
"markdownDescription": "Additional flags to pass to the `coder ssh` command when establishing SSH connections. Enter each flag as a separate array item; values are passed verbatim and in order. See the [CLI ssh reference](https://coder.com/docs/reference/cli/ssh) for available flags.\n\nNote: `--network-info-dir` and `--ssh-host-prefix` are ignored (managed internally). Prefer `#coder.proxyLogDirectory#` over `--log-dir`/`-l` for full functionality.",
125
+
"type": "array",
126
+
"items": {
127
+
"type": "string"
128
+
},
129
+
"default": [
130
+
"--disable-autostart"
131
+
]
132
+
},
123
133
"coder.globalFlags": {
124
134
"markdownDescription": "Global flags to pass to every Coder CLI invocation. Enter each flag as a separate array item; values are passed verbatim and in order. Do **not** include the `coder` command itself. See the [CLI reference](https://coder.com/docs/reference/cli) for available global flags.\n\nNote that for `--header-command`, precedence is: `#coder.headerCommand#` setting, then `CODER_HEADER_COMMAND` environment variable, then the value specified here. The `--global-config` flag is explicitly ignored.",
0 commit comments