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
fix: write workspace SSH hosts to a shared glob include that ssh reads first (#1061)
Workspace SSH hosts move out of the user's config into generated files under
the platform data dir, one per editor and deployment, all behind a single
editor-agnostic Include block that moves back to the top of the config on every
connect. First value wins, so the generated options always take effect and
editors stop overwriting each other's hosts.
- Global options in the user's config, such as a catch-all `Host *`, no longer
reach the connection; `coder.sshConfig` still overrides the generated ones.
- Drop the post-write "Unexpected SSH Config Option" abort, now redundant.
- Emit include paths inside $HOME as ~/..., quote and escape paths outside it,
and reject characters ssh cannot read back.
- Honor remote.SSH.configFile only where ssh actually reads it; ignore the
renamed setting on Antigravity and Windsurf, which spawn ssh without -F.
- Migrate only the historical coder-vscode authority, preserving wrappers and
the full URI, reopening the window once; an untitled multi-root workspace
keeps the old host behind an explanatory modal.
- Add "Coder: Open Generated SSH Configuration File", opening read-only.
- Add integration tests that run the real ssh -G against generated configs.
Closes#1055
0 commit comments