Skip to content

Deployment-wide defaults for coder config-ssh #6500

Closed
@bpmct

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

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