Skip to content

feat: Add feature to allow config-ssh value overrides #69

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 7 commits into from
Mar 28, 2023

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Mar 22, 2023

Also supports unsetting ssh config options.

src/remote.ts Outdated
Comment on lines 458 to 469
case 401: {
const result = await this.vscodeProposed.window.showInformationMessage(
"Your session expired...",
{
useCustom: true,
modal: true,
detail: "You must login again to access your workspace.",
},
"Login",
)
throw error
}
Copy link
Member Author

Choose a reason for hiding this comment

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

What is the best way to handle this?

Copy link
Member Author

Choose a reason for hiding this comment

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

This just throws some error if there is an unauthorized response code. It shouldn't happen because we are logged in, so it's an edge case that we don't need to handle all too well?

@Emyrk Emyrk requested a review from kylecarbs March 23, 2023 20:34
@Emyrk
Copy link
Member Author

Emyrk commented Mar 28, 2023

Fixes coder/coder#6826

@Emyrk Emyrk merged commit 3dfa588 into main Mar 28, 2023
@Emyrk Emyrk deleted the stevenmasley/ssh_config_override branch March 28, 2023 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants