mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: restart stopped workspaces on ssh command (#11050)
* feat: autostart workspaces on ssh & port forward This is opt out by default. VScode ssh does not have this behavior
This commit is contained in:
Generated
+10
@@ -34,6 +34,16 @@ workspaces:
|
||||
|
||||
Optionally specify the absolute path to the coder binary used in ProxyCommand. By default, the binary invoking this command ('config ssh') is used.
|
||||
|
||||
### --disable-autostart
|
||||
|
||||
| | |
|
||||
| ----------- | ----------------------------------------------- |
|
||||
| Type | <code>bool</code> |
|
||||
| Environment | <code>$CODER_CONFIGSSH_DISABLE_AUTOSTART</code> |
|
||||
| Default | <code>false</code> |
|
||||
|
||||
Disable starting the workspace automatically when connecting via SSH.
|
||||
|
||||
### -n, --dry-run
|
||||
|
||||
| | |
|
||||
|
||||
Generated
+10
@@ -42,6 +42,16 @@ machine:
|
||||
|
||||
## Options
|
||||
|
||||
### --disable-autostart
|
||||
|
||||
| | |
|
||||
| ----------- | ----------------------------------------- |
|
||||
| Type | <code>bool</code> |
|
||||
| Environment | <code>$CODER_SSH_DISABLE_AUTOSTART</code> |
|
||||
| Default | <code>false</code> |
|
||||
|
||||
Disable starting the workspace automatically when connecting via SSH.
|
||||
|
||||
### -p, --tcp
|
||||
|
||||
| | |
|
||||
|
||||
Generated
+10
@@ -12,6 +12,16 @@ coder ssh [flags] <workspace>
|
||||
|
||||
## Options
|
||||
|
||||
### --disable-autostart
|
||||
|
||||
| | |
|
||||
| ----------- | ----------------------------------------- |
|
||||
| Type | <code>bool</code> |
|
||||
| Environment | <code>$CODER_SSH_DISABLE_AUTOSTART</code> |
|
||||
| Default | <code>false</code> |
|
||||
|
||||
Disable starting the workspace automatically when connecting via SSH.
|
||||
|
||||
### -A, --forward-agent
|
||||
|
||||
| | |
|
||||
|
||||
Reference in New Issue
Block a user