Skip to content

Commit 97b4743

Browse files
authored
Revert "fix: set default sshMaxTimeout to 60s (coder#7532)" (coder#7544)
This reverts commit 049e557.
1 parent c6055c6 commit 97b4743

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cli/agent.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ func (r *RootCmd) workspaceAgent() *clibase.Cmd {
263263
},
264264
{
265265
Flag: "ssh-max-timeout",
266-
Default: "60s",
266+
Default: "0",
267267
Env: "CODER_AGENT_SSH_MAX_TIMEOUT",
268268
Description: "Specify the max timeout for a SSH connection.",
269269
Value: clibase.DurationOf(&sshMaxTimeout),

cli/testdata/coder_agent_--help.golden

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Starts the Coder workspace agent.
2121
--prometheus-address string, $CODER_AGENT_PROMETHEUS_ADDRESS (default: 127.0.0.1:2112)
2222
The bind address to serve Prometheus metrics.
2323

24-
--ssh-max-timeout duration, $CODER_AGENT_SSH_MAX_TIMEOUT (default: 60s)
24+
--ssh-max-timeout duration, $CODER_AGENT_SSH_MAX_TIMEOUT (default: 0)
2525
Specify the max timeout for a SSH connection.
2626

2727
--tailnet-listen-port int, $CODER_AGENT_TAILNET_LISTEN_PORT (default: 0)

0 commit comments

Comments
 (0)