Skip to content

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

Closed
aaronlehmann wants to merge 1 commit into
coder:mainfrom
aaronlehmann:ssh-structured-hostname
Closed

aaronlehmann wants to merge 1 commit into
coder:mainfrom
aaronlehmann:ssh-structured-hostname

Conversation

@aaronlehmann

Copy link
Copy Markdown
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
Copy Markdown
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