Remote-SSH window waits 8–15 min before ssh starts: resolveAuthority waits for [ExtensionSigning] to verify every local extension

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Every Remote-SSH window waits for a local extension-signature check to finish before it starts connecting. During window startup the renderer logs one [ExtensionSigning] Verified <id>@<version> (ok) line per installed extension, one at a time in alphabetical order, and calls resolveAuthority(ssh-remote) 5–7 ms after the last one. Remote-SSH is activated (onResolveRemoteAuthority:ssh-remote) a few seconds after the window starts, but nothing asks it to resolve until the check is done. Remote-SSH itself isn’t one of the verified extensions.
With 49 extensions installed, this held every remote window for 8–15 minutes on both 3.32.4 and 3.32.10:

Window Window start to resolveAuthority
3.32.10, restored after the update 12 min 57 s
3.32.10, second remote window opened 8 min later 7 min 59 s
3.32.4, remote window 13 min 13 s
3.32.4, another remote window 14 min 43 s
After that the connection was normal: ssh, the server download on the remote (0.5 s), extraction (13 s) and server start took 28.9 s in total, on the first attempt with no retries.
33 of the 49 extensions verify in under 10 s each, but some take much longer, and the time isn’t simply proportional to file count:
Extension Files
— —
Extension installed from a local development folder (metadata.source: "resource" in extensions.json), 8,504 of its files under node_modules 8,604
ms-python.python 2,438
vscode-icons-team.vscode-icons 1,694
dart-code.dart-code 20,384
The first result appears 44 s after the window starts (80–90 s on 3.32.4). A second pass in the same window after it connects takes about 1.4 s for all extensions, but a new window starts over. In the second 3.32.10 window, the slow extensions in the first half of the list took the same time again (the development extension took 4 min 27 s); only the last 25 were fast.
The restored 3.32.10 window also hit the known “second stall” from New Remote-SSH window waits tens of seconds before ssh.exe starts — gated on git-context timeout and fanout priming. After the Remote-SSH extension host returned the tunnel, resolveAuthority waited another 17 s for the fanout extension host, which took 44.9 s to boot (1.5–1.8 s in the other three windows) and then replied NoResolverFound.

Steps to Reproduce

  1. On Windows, install about 50 extensions, including one installed from a local folder that contains a node_modules tree with several thousand files.
  2. Open a Remote-SSH folder or workspace on a Linux host, or restart Cursor (for example by applying an update) with one open.
  3. Watch the window’s renderer log. [ExtensionSigning] Verified … lines arrive one at a time, and Invoking resolveAuthority(ssh-remote)... appears only after the last one. The Remote - SSH output channel stays empty until then.

Expected Behavior

  • resolveAuthority and ssh start as soon as the window knows its remote authority, without waiting for signature checks of unrelated local extensions. The check could run in parallel, or gate only the extension being checked.
  • Verification results are reused across windows and restarts for extensions that haven’t changed.
  • An extension installed from a development folder isn’t re-walked in full, including node_modules, every time a window opens.
  • resolveAuthority doesn’t wait for an extension host that has no resolver (the known issue in thread 171332).

Operating System

Windows 10/11

Version Information

Version: 3.32.10 (system setup)
VS Code: 1.147.0
Commit: 0d3b96e46ce65af82ed74bc6f14883b33e1a0590
Date: 2026-11-26T05:52:13.242Z
OS: Windows_NT x64 10.0.26200
Remote - SSH: anysphere.remote-ssh 1.1.19; remote host: Linux x64

Also reproduced on 3.32.4 (commit 0925c4b8226c56947c43f0b555fb98e187a7e020). Not seen on 3.31.15 or earlier: those sessions log no [ExtensionSigning] lines, and update-and-reconnect took 51–86 s. Two earlier 3.32.4 sessions on the same day (local windows, open 3–7 minutes) logged no [ExtensionSigning] lines either, so the check may be behind a server-side gate.

Additional Information

renderer.log from the restored 3.32.10 window (ports removed):

18:52:49.065 [info] [ExtensionSigning] Verified [email protected] (ok)
   ... 47 more, one at a time ...
19:05:01.315 [info] [ExtensionSigning] Verified [email protected] (ok)
19:05:01.322 [info] [ExtensionRunningLocationTracker] Primed fanout group (role: 4) with affinity 1, extensions: anysphere.cursor-always-local, anysphere.cursor-resolver, anysphere.cursor-socket
19:05:01.322 [info] [NativeExtensionService] Primed 1 fanout host(s) for authority resolution
19:05:01.322 [info] Invoking resolveAuthority(ssh-remote)...
19:05:30.192 [info] [LocalProcess0][resolveAuthority(ssh-remote,1)][28871ms] returned WebSocket(127.0.0.1:<port>)
19:05:46.266 [info] [LocalProcess1][resolveAuthority(ssh-remote,1)][44944ms] invoking...
19:05:47.164 [error] [LocalProcess1][resolveAuthority(ssh-remote,1)][45843ms] returned an error {"code":"NoResolverFound","message":"No remote extension installed to resolve ssh-remote."}
19:05:47.165 [info] resolveAuthority(ssh-remote) returned 'WebSocket(127.0.0.1:<port>)' after 45843 ms

The extension host activated Remote-SSH at 18:52:07, and its first resolve request arrived at 19:05:01. On 3.32.4 the results were a mix of (ok), (lazy_grandfathered) and (backfilled), and windows were blocked the same way.
Environment: Microsoft Defender is active, and the development folder is inside a OneDrive-synced directory with all files stored locally. Its per-file time (about 32 ms) is similar to several marketplace extensions with 1,000+ files (17–34 ms per file), though dart-code.dart-code took only about 1 ms per file.
Workaround: uninstalling the folder-installed extension should save about 4.5 minutes per window, and uninstalling other unused extensions shortens the rest.
Full logs are available privately on request (they contain host and user names).

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @narad, your read is right. With extension signature verification on, the window checks every installed extension, one at a time, before it asks Remote-SSH to resolve, so ssh can’t start until the last one is done, and nothing is reused between windows. This is a known issue the team is aware of (same one as this thread), and I’ve added your report to it.

The check runs because your team’s admins enforce Verify Extension Signatures, so the toggle under Cursor Settings → General → Extension Security is locked on your side.

In the meantime, your workaround is the right one. The folder-installed extension has no signature to scope the check, so every file in the folder is read, node_modules included. Uninstalling it (not just disabling it) while you don’t need it saves the most, then any other large extensions you don’t use.

The second wait, where the extra host answers NoResolverFound, is the same one as in the thread you linked. It’s tracked separately and still open.