getcursor / cursor

The AI Code Editor
https://cursor.com
23.97k stars 1.51k forks source link

Remote SSH couldn't work #1347

Closed doukAndy closed 6 months ago

doukAndy commented 6 months ago

I can't connect to the remote linux server while it works well in VSCode, I don't understand what does this message means. the version of Cursor is 0.30.3 image

[Info  - 16:28:23.690] Resolving ssh remote authority 'ssh-remote+douke@10.190.248.214 -p 59813' (attemp #1)
[Error  - 16:28:23.700] Couldn't get identities from OpenSSH agent
Error: Failed to connect to agent
    at Socket.n (c:\Users\Andy\AppData\Local\Programs\cursor\resources\app\extensions\open-remote-ssh\dist\main.js:1:115762)
    at Socket.emit (node:events:514:28)
    at Socket.emit (node:domain:489:12)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[Trace  - 16:28:23.700] Identity keys:
None
[Error  - 16:28:25.736] Error resolving authority
Error: connect ECONNREFUSED 10.222.246.73:22
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16)
sbscan commented 4 months ago

Also same, trying to connect from my Windows & Mac to remote linux. SSH and VSCODE no problem. So perhaps the problem is downloaded files.

yuchenlichuck commented 1 month ago

me too