Skip to content

feat: parse structured hostname arguments to "coder ssh" #16087

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

Conversation

aaronlehmann
Copy link
Contributor

If the argument to coder ssh fits the pattern <prefix>--<owner>--<workspace>--<agent?>, then parse this instead of treating the argument as a literal workspace name or <owner>/<workspace>.

This will enable the use of coder ssh for the VS Code and JetBrains plugins in combination with wildcard Host entries in the SSH config.

Part of #14986.

Related to #16078 and #16080.

If the argument to `coder ssh` fits the pattern
`<prefix>--<owner>--<workspace>--<agent?>`, then parse this instead of
treating the argument as a literal workspace name or
`<owner>/<workspace>`.

This will enable the use of `coder ssh` for the VS Code and JetBrains
plugins in combination with wildcard `Host` entries in the SSH config.

Part of coder#14986.
@cdr-bot cdr-bot bot added the community Pull Requests and issues created by the community. label Jan 9, 2025
@aaronlehmann
Copy link
Contributor Author

Closing in favor of an alternative approach.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 9, 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.

1 participant