Files
coder/docs/admin/setup
Ehab Younes df0e1a4047 fix!: only apply connection settings from deployment SSH config options (#32921)
- Limit --ssh-config-options to an allow list of connection settings:
  timeouts, keepalives, connection sharing (ControlMaster,
  ControlPersist), algorithms, authentication methods and logging,
  matching the VS Code extension's list
- Make `coder server` drop other options, and options set more than once
  in different case, with a startup warning instead of refusing to start
- Apply the same filter in `coder config-ssh` to what the deployment
  serves and print a warning, so it behaves the same against older
  servers
- Keep rejecting values with line breaks or NUL characters; malformed
  option names are ignored along with the rest
- Make SSHConfigResponse.Validate reject options outside the list, so
  callers filter first

BREAKING CHANGE: options outside the list, such as ForwardAgent, User,
HostName or SetEnv, are no longer written to users' SSH configs. Users
who need them can pass `coder config-ssh --ssh-option`.

Closes CLIENT-1123
2026-12-02 15:11:16 +00:00
..