Skip to content

Apply SSH reconnection settings on Devin Desktop (Windsurf) #1145

Closed

Description

@EhabY

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.*, with remote.windsurfSSH.* kept as a deprecated fallback that is only read when the devinSSH key 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, write connectTimeout, reconnectionGraceTime, and maxReconnectionAttempts under remote.devinSSH.*, falling back to remote.windsurfSSH.* on Windsurf 2.0 to 2.3. Pick the namespace by checking which key the editor registered, for example config.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 gets remote.SSH.serverShutdownTimeout, which it flags as an unknown setting, and Cursor gets reconnectionGraceTime and maxReconnectionAttempts, which it ignores.
  • Use config.inspect(key)?.globalValue === undefined for the "if unset" check. config.get(key) === undefined treats a contributed default (Devin's null, Cursor's 300) as a user value.

Antigravity is out of scope until it exposes equivalent settings.

Related docs PR: coder/coder#30501

Activity

  1. linear-code commented on Oct 8, 2026

    @linear-code
  2. added a commit that references this issue on Oct 8, 2026
    d3fdc6c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions