Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Add server alive configuration #30

Merged
merged 1 commit into from
May 29, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add server alive configuration
  • Loading branch information
cmoog committed May 28, 2020
commit 8ff2d5f93380cbdef2c51080cd8acf491c050493
2 changes: 2 additions & 0 deletions cmd/coder/config_ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ func (cmd *configSSHCmd) makeConfig(host, userName, envName string) string {
StrictHostKeyChecking no
ConnectTimeout=0
IdentityFile=%s
ServerAliveInterval 60
ServerAliveCountMax 3
`, envName, host, userName, envName, privateKeyFilepath)
}

Expand Down