Skip to content

Refactor SSH prefix into a workspace suffix #16828

Closed
2 of 3 issues completed
Closed
Chore
2 of 3 issues completed
@ThomasK33

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

Sub-issues

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