Skip to content

feat: use wildcard Host entry in config-ssh - #16096

Merged
bcpeinhardt merged 1 commit into
coder:mainfrom
aaronlehmann:config-ssh-wildcard
Jan 14, 2025
Merged

bcpeinhardt merged 1 commit into
coder:mainfrom
aaronlehmann:config-ssh-wildcard

Conversation

@aaronlehmann

Copy link
Copy Markdown
Contributor

Rather than create a separate Host entry for every workspace, configure a wildcard such as coder.* which can accomodate all of a user's workspaces.

Depends on #16088.

@cdr-bot cdr-bot Bot added the community Pull Requests and issues created by the community. label Jan 11, 2025
Comment thread cli/configssh_test.go Resolved
Comment thread cli/configssh_test.go Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This test case (and also No prompt on no changes below) is a bit tricky to support because it requires writing out a file that will exactly match what we generate. I can rework the test to make this possible if needed, though.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hmm, I think I'm fine losing these for now and I'll make a note to come back to it 😎

Rather than create a separate Host entry for every workspace, configure
a wildcard such as `coder.*` which can accomodate all of a user's
workspaces.
@bcpeinhardt
bcpeinhardt merged commit 8f02e63 into coder:main Jan 14, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

community Pull Requests and issues created by the community.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants