mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add --network-info-dir and --network-info-interval flags to coder ssh (#16078)
This is the first in a series of PRs to enable `coder ssh` to replace `coder vscodessh`. This change adds `--network-info-dir` and `--network-info-interval` flags to the `ssh` subcommand. These were formerly only available with the `vscodessh` subcommand. Subsequent PRs will add a `--ssh-host-prefix` flag to the ssh subcommand, and adjust the log file naming to contain the parent PID.
This commit is contained in:
Generated
+17
@@ -103,6 +103,23 @@ Enable remote port forwarding (remote_port:local_address:local_port).
|
||||
|
||||
Set environment variable(s) for session (key1=value1,key2=value2,...).
|
||||
|
||||
### --network-info-dir
|
||||
|
||||
| | |
|
||||
|------|---------------------|
|
||||
| Type | <code>string</code> |
|
||||
|
||||
Specifies a directory to write network information periodically.
|
||||
|
||||
### --network-info-interval
|
||||
|
||||
| | |
|
||||
|---------|-----------------------|
|
||||
| Type | <code>duration</code> |
|
||||
| Default | <code>5s</code> |
|
||||
|
||||
Specifies the interval to update network information.
|
||||
|
||||
### --disable-autostart
|
||||
|
||||
| | |
|
||||
|
||||
Reference in New Issue
Block a user