mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
feat(agent): Add SSH max timeout option for coder agent (#6596)
* feat(agent): Add SSH max timeout option for coder agent * Fix lint and update test golden snapshot
This commit is contained in:
18
cli/testdata/coder_agent_--help.golden
vendored
18
cli/testdata/coder_agent_--help.golden
vendored
@ -2,14 +2,16 @@ Usage:
|
||||
coder agent [flags]
|
||||
|
||||
Flags:
|
||||
--auth string Specify the authentication type to use for the agent.
|
||||
Consumes $CODER_AGENT_AUTH (default "token")
|
||||
-h, --help help for agent
|
||||
--log-dir string Specify the location for the agent log files.
|
||||
Consumes $CODER_AGENT_LOG_DIR (default "/tmp")
|
||||
--no-reap Do not start a process reaper.
|
||||
--pprof-address string The address to serve pprof.
|
||||
Consumes $CODER_AGENT_PPROF_ADDRESS (default "127.0.0.1:6060")
|
||||
--auth string Specify the authentication type to use for the agent.
|
||||
Consumes $CODER_AGENT_AUTH (default "token")
|
||||
-h, --help help for agent
|
||||
--log-dir string Specify the location for the agent log files.
|
||||
Consumes $CODER_AGENT_LOG_DIR (default "/tmp")
|
||||
--no-reap Do not start a process reaper.
|
||||
--pprof-address string The address to serve pprof.
|
||||
Consumes $CODER_AGENT_PPROF_ADDRESS (default "127.0.0.1:6060")
|
||||
--ssh-max-timeout duration Specify the max timeout for a SSH connection.
|
||||
Consumes $CODER_AGENT_SSH_MAX_TIMEOUT
|
||||
|
||||
Global Flags:
|
||||
--global-config coder Path to the global coder config directory.
|
||||
|
Reference in New Issue
Block a user