Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: hostname and proxy command generation#95

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

Merged
fioan89 merged 7 commits intomainfromfix-proxy-command-issues
Apr 24, 2025

Conversation

fioan89
Copy link
Collaborator

@fioan89fioan89 commentedApr 23, 2025
edited
Loading

  • latest Coder versions won't accept the SSH connections if proxy command does not include the workspace owner name
  • for wildcard configuration the ssh config stays the same but the actual hostname provided to the Toolbox
    will include the workspace owner name

For wildcard config:

  • the ssh config hostname follows thecoder-jetbrains-toolbox-dev.coder.com--* pattern
  • the proxy command will have a similar host prefix
  • the hostname provided to Toolbox follows thecoder-jetbrains-toolbox-dev.coder.com--${ws.ownerName}--${ws.name}.${agent.name} pattern

For non wildcard config:

  • the ssh config hostname follows thecoder-jetbrains-toolbox--${ws.ownerName}--${ws.name}.${agent.name}--dev.coder.com pattern

  • the proxy command will have the username and hostname in the ${ws.ownerName}/${ws.name}.${agent.name} format

  • the hostname provided to Toolbox follows thecoder-jetbrains-toolbox-dev.coder.com--${ws.ownerName}--${ws.name}.${agent.name} pattern

  • resolvesContent unavailable. Try to restart the connection. #94

- proxy command is configured with the user
- latest Coder versions won't accept the SSH connection if proxy command does not include the workspace owner name- for wildcard configuration the ssh config stays the same but the actual hostname provided to the Toolbox  will include the workspace owner name-resolves#94
- Coder versions like 2.18.x and before that don't support the wildcard config.  In this case, enabling this setting is ignored when generating the ssh config.- however the hostname passed to the Toolbox ssh connection was not taking into  account that some versions don't support wildcard config.- this corner case is now covered by encapsulating the hostname resolving logic  and taking into account the cli version.
@fioan89fioan89 merged commitccbb835 intomainApr 24, 2025
5 checks passed
@fioan89fioan89 deleted the fix-proxy-command-issues branchApril 24, 2025 19:17
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@matifalimatifalimatifali approved these changes

@f0sself0sself0ssel approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Content unavailable. Try to restart the connection.

3 participants

@fioan89@matifali@f0ssel

[8]ページ先頭

©2009-2025 Movatter.jp