Consider an SSH config like:
Host first
HostName xx.xx.xx.xx
identityfile C:\path\to\first\idkey
User ubuntu
Host second
HostName compute-permanent-node-xxx
User ubuntu
identityfile C:\path\to\second\idkey
ProxyJump first
Host te
HostName localhost
Port 11111
User root
identityfile C:\path\to\te\idkey
ProxyJump second
In my testing,
ssh first
,ssh second
,ssh te
all work on cmd.exe- in cursor’s SSH, I can connect to first and second, but not te, which gives this:
[Info - 11:01:10.769] Resolving ssh remote authority 'ssh-remote+te' (attemp #1)
[Error - 11:01:10.797] Couldn't get identities from OpenSSH agent
Error: Failed to connect to agent
at Socket.r (c:\Users\a\AppData\Local\Programs\cursor\resources\app\extensions\open-remote-ssh\dist\main.js:1:115762)
at Socket.emit (node:events:513:28)
at Socket.emit (node:domain:489:12)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
[Trace - 11:01:10.797] Identity keys:
C:\path\to\te\idkey ecdsa-sha2-nistp256
[Error - 11:01:10.800] Couldn't get identities from OpenSSH agent
Error: Failed to connect to agent
at Socket.r (c:\Users\a\AppData\Local\Programs\cursor\resources\app\extensions\open-remote-ssh\dist\main.js:1:115762)
at Socket.emit (node:events:513:28)
at Socket.emit (node:domain:489:12)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
[Trace - 11:01:10.800] Identity keys:
C:\path\to\te\idkey ecdsa-sha2-nistp256
[Error - 11:01:11.823] Error resolving authority
Error: getaddrinfo ENOTFOUND compute-permanent-node-761
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26)
I reported this 4 days ago on (what I believe to be) upstream in open-remote-ssh here as well.