Skip to content

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

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

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

aaronlehmann
Copy link
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
},
matches: []match{
{match: "Continue?", write: "yes"},
},
},
{
name: "Section is not moved on re-run",
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 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
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
29 checks passed
@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