Repository navigation
Description
Problem
On connect, and through Coder: Apply Recommended SSH Settings, the extension writes remote.SSH.connectTimeout, remote.SSH.reconnectionGraceTime, remote.SSH.serverShutdownTimeout, and remote.SSH.maxReconnectionAttempts (src/remote/sshOverrides.ts).
Devin Desktop (formerly Windsurf, codeium.windsurf-remote-openssh) does not read the remote.SSH.* namespace, so none of these take effect there. Users get the 15 second connect timeout and the default reconnection grace time, which is exactly what these overrides exist to avoid.
What each Remote-SSH extension reads
Verified from each extension's package.json and bundled JS.
| Setting | VS Code | Cursor | VSCodium | Devin Desktop / Windsurf | Antigravity |
|---|---|---|---|---|---|
| connect timeout | remote.SSH.connectTimeout |
remote.SSH.connectTimeout |
remote.SSH.connectTimeout |
remote.devinSSH.connectTimeout |
none |
| reconnection grace time | remote.SSH.reconnectionGraceTime |
none | none | remote.devinSSH.reconnectionGraceTime |
none |
| server shutdown timeout | none | remote.SSH.serverShutdownTimeout |
none | none | none |
| max reconnection attempts | remote.SSH.maxReconnectionAttempts |
none | none | remote.devinSSH.maxReconnectionAttempts |
none |
Namespace history for codeium.windsurf-remote-openssh:
- Windsurf before 2.0: none of these settings exist.
- Windsurf 2.0.x to 2.3.x (April to May 2026):
remote.windsurfSSH.*. - Devin Desktop (June 2026 rename onward):
remote.devinSSH.*, withremote.windsurfSSH.*kept as a deprecated fallback that is only read when thedevinSSHkey is unset.
Antigravity only contributes remote.antigravitySSH.{configFile,path,experimental.*} and starts its server with a fixed --enable-remote-auto-shutdown, so there is nothing to apply there.
Proposal
- When the active Remote-SSH extension is
codeium.windsurf-remote-openssh, writeconnectTimeout,reconnectionGraceTime, andmaxReconnectionAttemptsunderremote.devinSSH.*, falling back toremote.windsurfSSH.*on Windsurf 2.0 to 2.3. Pick the namespace by checking which key the editor registered, for exampleconfig.inspect(key)?.defaultValue !== undefined, rather than by version. - Do the same in Coder: Apply Recommended SSH Settings.
- Only write keys the active extension reads.
getRemoteSshExtension()already identifies it. Today VS Code getsremote.SSH.serverShutdownTimeout, which it flags as an unknown setting, and Cursor getsreconnectionGraceTimeandmaxReconnectionAttempts, which it ignores. - Use
config.inspect(key)?.globalValue === undefinedfor the "if unset" check.config.get(key) === undefinedtreats a contributed default (Devin'snull, Cursor's300) as a user value.
Antigravity is out of scope until it exposes equivalent settings.
Related docs PR: coder/coder#30501
Activity
linear-code commentedon Oct 8, 2026
VSC-31
fix: apply SSH tuning settings per provider (#1146)