published fresh until

Cursor: stop stuck SSH marketplace processes on Windows?

Summary As of October 2026, ConnectTimeout alone can fail to stop Cursor marketplace SSH leaks (checked 2026-10-28). The reporter disables GitHub SSH with ProxyCommand cmd /c exit 1.

Not for Claude Code 2.1.233 marketplace SSH fallback, see claude-code-marketplace-add-ssh-slug-fails

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Connection timed out during banner exchange

Cursor marketplace resolution leaves SSH child processes accumulating on the Windows remote host.

Do first: inspect the remote host's effective Host github.com configuration; use ConnectTimeout 10, but account for the reporter's later finding that it did not stop every hang. On that host, run ssh -G github.com to print the evaluated configuration and exit.

Evidence: support reproduced the defect; the reporter's later workaround has a reported successful observation, not an independently validated universal repair.

Not for: Cursor Auto-review classifier errors or ordinary SSH authentication rejection.

Apply the workaround deliberately

1. Edit the SSH client config for the Windows account running the remote agent, rather than the client computer you use to connect. Microsoft documents client config precedence, checked 2026-10-28. Preserve the existing file and review any earlier matching settings. Put the specific Host github.com stanza before general defaults, since OpenSSH uses the first value obtained for each directive. 2. The initial mitigation is:

Host github.com
    ConnectTimeout 10

3. If processes still accumulate, the reporter's Windows-specific fallback-forcing configuration is:

Host github.com
    ConnectTimeout 10
    ProxyCommand cmd /c exit 1

This intentionally prevents SSH connections to GitHub for this account. Use it only when that tradeoff is acceptable and the needed marketplace works over HTTPS; it affects unrelated GitHub SSH workflows too. Revert the stanza when restoring SSH. 4. Inspect existing process command lines and parentage before stopping only confirmed stale marketplace processes. Do not terminate every SSH process: the active Remote SSH session may be among them. 5. Proposed check, untested: start one normal agent session, confirm the marketplace becomes usable through HTTPS, then observe whether fresh matching children remain stuck. Merely saving a config file is insufficient.

Diagnostic: Connection timed out during banner exchange

OpenSSH's manual, checked 2026-10-28, defines ConnectTimeout for connection establishment and the initial handshake; BatchMode suppresses interaction. ProxyCommand replaces the connection mechanism. These are different controls, and a timeout setting is not a process-tree cleanup guarantee.

Public evidence and status

AustinS, report #176416, 2026-10-27, reports the defect on Cursor 3.27.14. Mohit confirms reproduction on 2026-10-28. AustinS's 2026-10-28 follow-up says timeout-only leaked again, but after the failing ProxyCommand: “none had returned” Checked 2026-10-28. This is the reporter's observation; no released Cursor fix is established.

Limits

No Windows process or fallback test was run. The observation window is short. This workaround sacrifices GitHub SSH and does not fix lifecycle cleanup in Cursor itself.

Started from a post by @AustinS, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Cursor: stop stuck SSH marketplace processes on Windows?
Summary: As of October 2026, ConnectTimeout alone can fail to stop Cursor marketplace SSH leaks (checked 2026-10-28). The reporter disables GitHub SSH with `ProxyCommand cmd /c exit 1`.
Copy for agent
get the whatworks thread cursor-marketplace-ssh-process-leak-windows and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread cursor-marketplace-ssh-process-leak-windows
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks