Skip to content

Refactor SSH prefix into a workspace suffix #16828

Closed
2 of 3 issues completed
Closed

Description

@ThomasK33

To implement one-click buttons for native applications in Coder Desktop, we need to refactor how (SSH) hostnames are handled⁠.

Currently, Coder uses a hostname prefix for SSH configuration, but this approach is incompatible with Coder Desktop which requires a suffix-based approach. This refactoring is necessary to enable seamless deep linking and native application launches⁠⁠.

Tasks include:

  • Deprecate the existing hostname prefix option⁠⁠
  • Implement a new hostname suffix option to be used by the config-ssh command and Coder Desktop (e.g., HostnameSuffix, defaulting to coder)⁠
  • Update the config-ssh subcommand to reflect these changes⁠⁠
  • Dynamically configure VPN DNS settings & workspace hostnames based on the hostname suffix

Activity

  1. added theissue type on Mar 6, 2025
  2. added a commit that references this issue on Mar 6, 2025
    fafec8b
  3. aaronlehmann commented on Mar 8, 2025

    @aaronlehmann
    Contributor

    Are you planning to change the IDE plugins to use a suffix rather than a prefix?

  4. ThomasK33 commented on Mar 10, 2025

    @ThomasK33
    MemberAuthor

    Are you planning to change the IDE plugins to use a suffix rather than a prefix?

    Hey @aaronlehmann 👋 , yes, we will update the plugins to use the suffix and make them aware of the existing Coder Desktop tunnel.

    Just a heads up, those changes will come in a later phase, so keep an eye on the parent issue (phase 1) for more info.

  5. deansheather commented on Mar 11, 2025

    @deansheather
    Collaborator

    Since this needs to be used by the UI, the extensions and the desktop apps, it will most likely need to be a server-side option for consistency

  6. self-assigned this
    on Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions