You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Deployment-wide defaults for coder config-ssh #6500
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
bpmct commentedon Mar 7, 2023
These should also apply to the VS Code extension!
matifali commentedon Mar 8, 2023
I like these ideas.
Emyrk commentedon Mar 14, 2023
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.