Skip to content

Deployment-wide defaults for coder config-ssh #6500

Closed

Description

@bpmct

We have a customer who built a custom wrapper around the coder CLI in order to set default values for coder config-ssh, among other things. For example, they want to set ForwardAgent yes for each host.

In v2, Coder supports coder config-ssh --ssh-option "ForwardAgent yes", but then each user has to do it. If there was a deployment-wide default, then every client could use these options with no custom wrapper or individual config needed.

For example

coder server --ssh-default-option "ForwardAgent yes" --ssh-default-option "AnotherOption yes"

or

CODER_SSH_DEFAULT_OPTION_0=ForwardAgent yes
CODER_SSH_DEFAULT_OPTION_1=AnotherOption yes
coder server

Not sure what the exact syntax would be for our config engine

Activity

  1. bpmct commented on Mar 7, 2023

    @bpmct
    MemberAuthor

    These should also apply to the VS Code extension!

  2. matifali commented on Mar 8, 2023

    @matifali
    Contributor

    I like these ideas.

  3. self-assigned this
    on Mar 14, 2023
  4. Emyrk commented on Mar 14, 2023

    @Emyrk
    Member

    This might make more sense to be an org scoped configuration. I know we don't really support that, so I can make it deployment wide right now.

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

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions