Cursor 1.3 remote ssh - Agent terminal issues

Hello Everyone.

Having gone through a number of posts on this issue, I will admit im a bit lost as to what the issue “is”.

Some of the post seem to imply that if you modify your .bashrc/.zshrc files that you will have better performance, but unless you have other active agents (which i dont) im not sure how this will improve things.

What i see when doing the trace while the agent is running a terminal command is that in 75% of the time, command is not actually being executed (i dont see the command hit the shell/kernel (running truss/ps logs, etc to see if the command is even "spit out)..

The other part of the time, I see the command “called out” but seems like the callback / agent is not capturing…

While watching, the agents do not appear to be running hot or spike too much (CPU/RAM< lots of disk, etc)

Do we have any sort of indication from Cursor team if this is something in the agent or something in environments?

Seems to get worse when you have two windows open and has been “really bad” over the last two weeks, noticeably worse.

Any pointers would help !

hi @Daniel_Smith Cursor 1.3 will bring terminal improvements that should resolve this. There was a Early Access release but we are making further improvements, perhaps hold off from updating for a bit.

1 Like

is this an update to the installable Cursor Agent on the linux machines or do you mean to “cursor” overall?

since im running 1.3.2 presently - so a bit puzzled when you say “1.3” :slight_smile:

Thanks for answering!

Yes I meant 1.3.x. with current version 1.3.2

Do you still there have issues?

Yes.. i have issues with 1.3.2

For example - this has been hanging for about 2 hours now :slight_smile:

and note, im doing remote to SSH and the other end is a ubuntu machine.

here is my version :slight_smile:

many thanks!

I see, in case of SSH remote @ravirahman might be better suited as he is the expert.

Moved your topic into new bug report as its different from other cases.

@Daniel_Smith could you in the meantime check Logs folder if there is anything pointing out the issue and post here?

Command Palette: > Open Logs Folder

Hello Everyone.

it seems that today is even worse, where agent response (not even writing or terminal commands) are hanging and waiting for responses (and no, im not being aggro, this is like 5 minutes to wait for a prompt return).

The following troubleshooting steps were performed:

Network Diag results:

From the logs folder, there are quite a number of folders and logs - not sure which one i should be looking in - All of them?

i did a quick look around, but I would wonder if in fact we need logs from the remote Agent on the Ubuntu machine as well since that is where the “terminal” commands (from last week were hanging). Today the service seems a bit sluggish overall and i have to break and re-prompt a couple of times.

I have attached the exthost.log - but i think that just shows the two “breaks” that i pushed myself (not much in there I can see, but im not all that familiar with the code base).

It would seem you cant “copy/paste” the log files, so here you go

extHost.log:

Since i “think” its about the remote-ssh setup, but perhaps not, since its happening when im not remote as well today, here is what i found in there.

Sorry - if there is a better way to give you the logs, let me know?

remote-ssh Logs

After spending a good 20 minutes getting this all prepared, it was “too large” for your chat. Please do provide a adequate way to add files to the chat (drag and drop doesnt work and they are larger than a single screen) and I can upload them.

Thank you
lmcdasm

Hey, I have just increased the upload size to the maximum of 30MB, is that big enough for you to upload now?

let me try.. :slight_smile:

I will remove the “installation lines” (percentage counting) from the remote-ssh logs since i dont think those matter and that might make it a bit better.

wont be long, thanks!

here is the exthost.log file
2025-07-28 12:38:35.186 [info] Extension host with pid 13952 started
2025-07-28 12:38:35.207 [info] ExtensionService#_doActivateExtension anysphere.remote-ssh, startup: false, activationEvent: ‘onCommand:opensshremotes.openEmptyWindowInCurrentWindow’
2025-07-28 12:38:35.290 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: false, activationEvent: ‘', root cause: vscode.git
2025-07-28 12:38:35.331 [info] ExtensionService#_doActivateExtension standard.vscode-standard, startup: false, activationEvent: '

2025-07-28 12:38:38.251 [info] ExtensionService#_doActivateExtension yatki.vscode-surround, startup: false, activationEvent: ‘
2025-07-28 12:38:38.301 [info] ExtensionService#_doActivateExtension vscode.git, startup: false, activationEvent: '

2025-07-28 12:38:38.438 [info] ExtensionService#_doActivateExtension vscode.github, startup: false, activationEvent: ‘*’
2025-07-28 12:38:38.670 [info] Eager extensions activated
2025-07-28 12:38:38.683 [info] ExtensionService#_doActivateExtension anysphere.cursor-always-local, startup: false, activationEvent: ‘onStartupFinished’
2025-07-28 12:38:39.215 [info] ExtensionService#_doActivateExtension anysphere.cursor-deeplink, startup: false, activationEvent: ‘onStartupFinished’
2025-07-28 12:38:39.471 [info] ExtensionService#_doActivateExtension anysphere.cursor-retrieval, startup: false, activationEvent: ‘onStartupFinished’
2025-07-28 12:38:40.012 [info] ExtensionService#_doActivateExtension anysphere.cursor-shadow-workspace, startup: false, activationEvent: ‘onStartupFinished’
2025-07-28 12:38:40.255 [info] ExtensionService#_doActivateExtension anysphere.cursor-tokenize, startup: false, activationEvent: ‘onStartupFinished’
2025-07-28 12:38:40.554 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: ‘onStartupFinished’
2025-07-28 12:38:40.596 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: ‘onStartupFinished’
2025-07-28 12:38:40.772 [info] ExtensionService#_doActivateExtension anysphere.remote-wsl, startup: false, activationEvent: ‘onStartupFinished’
2025-07-28 12:38:40.847 [info] ExtensionService#_doActivateExtension genieai.chatgpt-vscode, startup: false, activationEvent: ‘onStartupFinished’
2025-07-28 12:38:41.139 [info] ExtensionService#_doActivateExtension rvest.vs-code-prettier-eslint, startup: false, activationEvent: ‘onStartupFinished’
2025-07-28 12:38:41.391 [info] Extension host terminating: renderer closed the MessagePort
2025-07-28 12:38:41.427 [error] ProxyResolver#addCertificatesV1 Canceled: Canceled
at cBt (file:///d:/Users/dasm/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:42:112136)
at Cct.U (file:///d:/Users/dasm/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:42:116780)
at r..a.charCodeAt.r. (file:///d:/Users/dasm/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:42:114272)
at Aa.loadCertificates (file:///d:/Users/dasm/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:129:287269)
at Object.loadAdditionalCertificates (file:///d:/Users/dasm/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:196:22380)
at d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\node_modules@vscode\proxy-agent\out\index.js:723:53
at Generator.next ()
at d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\node_modules@vscode\proxy-agent\out\index.js:35:71
at new Promise ()
at __awaiter (d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\node_modules@vscode\proxy-agent\out\index.js:31:12)
at d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\node_modules@vscode\proxy-agent\out\index.js:722:43
at d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\node_modules@vscode\proxy-agent\out\index.js:724:16
at Generator.next ()
at d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\node_modules@vscode\proxy-agent\out\index.js:35:71
at new Promise ()
at __awaiter (d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\node_modules@vscode\proxy-agent\out\index.js:31:12)
at getOrLoadAdditionalCertificates (d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\node_modules@vscode\proxy-agent\out\index.js:720:12)
at addCertificatesToOptionsV1 (d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\node_modules@vscode\proxy-agent\out\index.js:699:9)
at resolveProxyWithRequest (d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\node_modules@vscode\proxy-agent\out\index.js:114:9)
at d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\node_modules@vscode\proxy-agent\out\index.js:346:77
at new Promise ()
at PacProxyAgent.resolveP [as resolver] (d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\node_modules@vscode\proxy-agent\out\index.js:346:54)
at PacProxyAgent. (d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\node_modules@vscode\proxy-agent\out\agent.js:74:37)
at Generator.next ()
at d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\node_modules@vscode\proxy-agent\out\agent.js:8:71
at new Promise ()
at __awaiter (d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\node_modules@vscode\proxy-agent\out\agent.js:4:12)
at PacProxyAgent.connect (d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\node_modules@vscode\proxy-agent\out\agent.js:56:16)
at d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\node_modules\agent-base\dist\index.js:73:30
2025-07-28 12:38:41.431 [error] Error: Channel has been closed
at r (file:///d:/Users/dasm/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:138:2439)
at Object.appendLine (file:///d:/Users/dasm/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:138:2578)
at c (d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\extensions\cursor-always-local\dist\main.js:2:122502)
at t.deactivate (d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\extensions\cursor-always-local\dist\main.js:2:124146)
at d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\extensions\cursor-always-local\dist\main.js:2:1811607
at t.deactivate (d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\extensions\cursor-always-local\dist\main.js:2:1811665)
at async Promise.all (index 0)
at async STe.$ (file:///d:/Users/dasm/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:136:10230)
2025-07-28 12:38:41.431 [info] Extension host with pid 13952 exiting with code 0
2025-07-28 12:38:45.420 [info] Extension host with pid 16160 started
2025-07-28 12:38:45.420 [info] [resolveAuthority(ssh-remote,1)][0ms] activating remote resolvers ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e323334227d
2025-07-28 12:38:45.420 [info] [resolveAuthority(ssh-remote,1)][0ms] activating resolver for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e323334227d…
2025-07-28 12:38:45.430 [info] ExtensionService#_doActivateExtension anysphere.remote-ssh, startup: false, activationEvent: ‘onResolveRemoteAuthority:ssh-remote’
2025-07-28 12:38:45.468 [info] [resolveAuthority(ssh-remote,1)][84ms] invoking final resolve()…
2025-07-28 12:38:46.481 [info] [resolveAuthority(ssh-remote,1)][1097ms] waiting…
2025-07-28 12:38:47.488 [info] [resolveAuthority(ssh-remote,1)][2104ms] waiting…
2025-07-28 12:38:48.499 [info] [resolveAuthority(ssh-remote,1)][3115ms] waiting…
2025-07-28 12:38:49.346 [info] [resolveAuthority(ssh-remote,1)][3963ms] setting tunnel factory…
2025-07-28 12:38:49.347 [info] [resolveAuthority(ssh-remote,1)][3963ms] returned 127.0.0.1:64812
2025-07-28 12:38:50.153 [info] Eager extensions activated
2025-07-28 12:38:50.235 [info] ExtensionService#_doActivateExtension anysphere.cursor-always-local, startup: false, activationEvent: ‘onStartupFinished’
2025-07-28 12:38:50.587 [info] ExtensionService#_doActivateExtension anysphere.cursor-deeplink, startup: false, activationEvent: ‘onStartupFinished’
2025-07-28 12:38:50.686 [info] ExtensionService#_doActivateExtension anysphere.remote-wsl, startup: false, activationEvent: ‘onStartupFinished’
2025-07-28 12:39:14.045 [info] Extension host terminating: renderer closed the MessagePort
2025-07-28 12:39:14.345 [error] Error: Channel has been closed
at a (file:///d:/Users/dasm/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:138:2824)
at Object.info (file:///d:/Users/dasm/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:138:3183)
at Server. (c:\Users\dasm.cursor\extensions\anysphere.remote-ssh-1.0.23\dist\main.js:1:293964)
at Object.onceWrapper (node:events:638:28)
at Server.emit (node:events:524:28)
at emitCloseNT (node:net:2344:8)
at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
2025-07-28 12:39:14.345 [error] Error: Channel has been closed
at a (file:///d:/Users/dasm/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:138:2824)
at Object.info (file:///d:/Users/dasm/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:138:3183)
at Server. (c:\Users\dasm.cursor\extensions\anysphere.remote-ssh-1.0.23\dist\main.js:1:294152)
at Object.onceWrapper (node:events:638:28)
at Server.emit (node:events:524:28)
at emitCloseNT (node:net:2344:8)
at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
2025-07-28 12:39:14.347 [error] Error: Channel has been closed
at r (file:///d:/Users/dasm/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:138:2439)
at Object.appendLine (file:///d:/Users/dasm/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:138:2578)
at c (d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\extensions\cursor-always-local\dist\main.js:2:122502)
at t.deactivate (d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\extensions\cursor-always-local\dist\main.js:2:124146)
at d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\extensions\cursor-always-local\dist\main.js:2:1811607
at t.deactivate (d:\Users\dasm\AppData\Local\Programs\cursor\resources\app\extensions\cursor-always-local\dist\main.js:2:1811665)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 0)
at async STe.$ (file:///d:/Users/dasm/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:136:10230)
2025-07-28 12:39:14.347 [info] Extension host with pid 16160 exiting with code 0
2025-07-28 12:39:19.534 [info] Extension host with pid 24952 started
2025-07-28 12:39:19.535 [info] Skipping acquiring lock for c:\Users\dasm\AppData\Roaming\Cursor\User\workspaceStorage\29de3212ca3df1bb6979512511395a91.
2025-07-28 12:39:19.535 [info] $getCanonicalURI invoked for authority (ssh-remote)
2025-07-28 12:39:19.565 [info] ExtensionService#_doActivateExtension anysphere.remote-ssh, startup: false, activationEvent: ‘onResolveRemoteAuthority:ssh-remote’
2025-07-28 12:39:19.634 [info] [resolveAuthority(ssh-remote,1)][0ms] activating remote resolvers ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e323334227d
2025-07-28 12:39:19.635 [info] [resolveAuthority(ssh-remote,1)][0ms] activating resolver for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e323334227d…
2025-07-28 12:39:19.635 [info] [resolveAuthority(ssh-remote,1)][1ms] invoking final resolve()…
2025-07-28 12:39:20.171 [info] [resolveAuthority(ssh-remote,1)][537ms] setting tunnel factory…
2025-07-28 12:39:20.172 [info] [resolveAuthority(ssh-remote,1)][537ms] returned 127.0.0.1:64881
2025-07-28 12:39:23.164 [info] Eager extensions activated
2025-07-28 12:39:23.187 [info] ExtensionService#_doActivateExtension anysphere.cursor-always-local, startup: false, activationEvent: ‘onStartupFinished’
2025-07-28 12:39:23.535 [info] ExtensionService#_doActivateExtension anysphere.cursor-deeplink, startup: false, activationEvent: ‘onStartupFinished’
2025-07-28 12:39:23.639 [info] ExtensionService#_doActivateExtension anysphere.remote-wsl, startup: false, activationEvent: ‘onStartupFinished’
2025-07-28 12:39:25.145 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: ‘onAuthenticationRequest:github’

hmm. soemthing weird for the anysphere.remote-ssh logs.

The filesize is 304KB (windows).

but when i (after removeing about 300 lines that count the installation progress/percentage) and trying to post the full log, im getting this message?

Thoughts?

ok.. so i tried to split it up and paste in sections and then i get this error message now.

It would be really good to provide a method to upload the log files if requested, since its a bit frustrating right now (1 hour playing around with chat to get you guys two logs files less than 500KB total is a bit “much” no? :slight_smile:

let me know how to get them to you, and again, today it seems the issues is way beyond remote terminal actions (still failing when trying to do command prompt), but seems like the Agent service is impacting.

Many thanks!

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.