- Notifications
You must be signed in to change notification settings - Fork913
feat: add --ssh-host-prefix flag for "coder ssh"#16088
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
The test failure looks unrelated. Flaky test? |
Looks like it, although I'm having trouble getting it to Flake to confirm :/ |
Re-running the tests passed, it's a flake ❄️ I'll come back to this in the morning and try to fix it 😎 |
Ah hey the flake was caught and fixed yesterday, just in the process of being merged:coder/internal#269 |
This simplifies the written SSH config and avoids the need to make anAPI request for every workspace the filter returns. This can removeminutes from the "Configuring Coder CLI..." step when the user hasaccess to many workspaces (for example, an admin who wants the option ofconnecting to anyone's workspace on a large deployment).Depends oncoder/coder#16088
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks!
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
This adds a flag matching `--ssh-host-prefix` from `coder config-ssh` to`coder ssh`. By trimming a custom prefix from the argument, we can setup wildcard-based `Host` entries in SSH config for the IDE plugins (andeventually `coder config-ssh`).We also replace `--` in the argument with `/`, so ownership can bespecified in wildcard-based SSH hosts like `<owner>--<workspace>`.
e32e656
to0499bda
Compare1aa9e32
intocoder:mainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
This adds a flag matching
--ssh-host-prefix
fromcoder config-ssh
tocoder ssh
. By trimming a custom prefix from the argument, we can set up wildcard-basedHost
entries in SSH config for the IDE plugins (and eventuallycoder config-ssh
).We also replace
--
in the argument with/
, so ownership can be specified in wildcard-based SSH hosts like<owner>--<workspace>
.Replaces#16087.
Part of#14986.
Related to#16078 and#16080.