Skip to content
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

[WIP] Use wildcard SSH config Host entries #521

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aaronlehmann
Copy link
Contributor

This simplifies the written SSH config and avoids the need to make an API request for every workspace the filter returns. This can remove minutes from the "Configuring Coder CLI..." step when the user has access to many workspaces (for example, an admin who wants the option of connecting to anyone's workspace on a large deployment).

Depends on coder/coder#16088

@aaronlehmann
Copy link
Contributor Author

cc @code-asher

@@ -489,40 +510,53 @@ class CoderCLIManager(
Features(
disableAutostart = version >= SemVer(2, 5, 0),
reportWorkspaceUsage = version >= SemVer(2, 13, 0),
wildcardSSH = version >= SemVer(2, 18, 2), // FIXME use actual version that has https://github.com/coder/coder/pull/16088
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be filled in before merging.

@aaronlehmann aaronlehmann changed the title Use wildcard SSH config Host entries [WIP] Use wildcard SSH config Host entries Jan 10, 2025
@aaronlehmann aaronlehmann marked this pull request as draft January 10, 2025 03:44
@bcpeinhardt
Copy link
Collaborator

Looks good so far 😎

This simplifies the written SSH config and avoids the need to make an
API request for every workspace the filter returns. This can remove
minutes from the "Configuring Coder CLI..." step when the user has
access to many workspaces (for example, an admin who wants the option of
connecting to anyone's workspace on a large deployment).

Depends on coder/coder#16088
@aaronlehmann
Copy link
Contributor Author

I think this is ready for review. The Coder CLI version number placeholder just needs to be filled in when that release happens.

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 this pull request may close these issues.

2 participants