Skip to content

support server-side flag to append ServerAliveInterval 5 to SSH entries made by Gateway #354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ericpaulsen opened this issue Feb 3, 2024 · 0 comments · Fixed by #382
Closed
Assignees

Comments

@ericpaulsen
Copy link
Member

@code-asher resolved periodic disconnects on a Coder workspace connected from a JetBrains IDE by having the user set the following in their SSH config:

Host coder-jetbrains--*
  ServerAliveInterval 5

problem is, the SSH config will be overwritten by Gateway each time it authenticates to Coder. we should support a server flag to append ServerAliveInterval 5 to Gateway entries. we already support this for standard SSH connections via --ssh-config-options ServerAliveInterval=x

i confirmed the above flag does not apply to Gateway entries in the SSH config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants