After Cursor suddenly reinstall, ssh is no longer working and promt "ECONNRESET" error

After Cursor suddenly closed and automatily reinstall, ssh stop working with “ECONNRESET” error. I tried re-install ssh extension, re-install cursor, the problem still persist. Also connection to the host vis vscode is working fine. Could anyone help me with this? Thank you!


[10:11:49.707] Remote server is listening on socket /tmp/cursor-3f4628d0-edf6-41b8-97b3-57da2f9a006b

[10:11:49.707] Parsed server configuration: {“serverConfiguration”:{“remoteListeningOn”:{“socketPath”:“/tmp/cursor-3f4628d0-edf6-41b8-97b3-57da2f9a006b”},“osReleaseId”:“ubuntu”,“arch”:“x86_64”,“sshAuthSock”:“”,“display”:“”,“tmpDir”:“/run/user/1000”,“platform”:“linux”,“execServerToken”:“1a111111-11aa-1aaa-aa1a-1111a1aa1a1a”},“serverStartTime”:54,“installUnpackCode”:“”}

[10:11:49.710] Running script with connection command: “C:\Windows\System32\OpenSSH\ssh.exe” -T -L 127.0.0.1:49593:/tmp/cursor-3f4628d0-edf6-41b8-97b3-57da2f9a006b “10.10.3.66” bash

[10:11:49.711] Spawning tunnel with: type “C:\Users\ADMINI~1\AppData\Local\Temp\vscode-linux-multi-line-command-10.10.3.66-848107372.sh” | “C:\Windows\System32\OpenSSH\ssh.exe” -T -L 127.0.0.1:49593:/tmp/cursor-3f4628d0-edf6-41b8-97b3-57da2f9a006b “10.10.3.66” bash

[10:11:49.711] Terminal shell path: C:\Windows\System32\cmd.exe

[10:11:50.016] > e]0;C:\Windows\System32\cmd.exea

[10:11:51.296] >

Connected to SSH Host - Please do not close this terminal

[10:11:51.296] Spawned SSH tunnel between local port 49593 and remote target socket /tmp/cursor-3f4628d0-edf6-41b8-97b3-57da2f9a006b

[10:11:51.297] Waiting for ssh tunnel to be ready

[10:11:51.299] Tunneled socket /tmp/cursor-3f4628d0-edf6-41b8-97b3-57da2f9a006b to local port 49593

[10:11:51.299] Resolved “ssh-remote+10.10.3.66” to “port 49593”

[10:11:51.302] Initizing new exec server for ssh-remote+10.10.3.66

[10:11:51.302] Resolving exec server at port 49593

[10:11:51.317] Exec server for ssh-remote+10.10.3.66 failed: Error: read ECONNRESET

[10:11:51.318] Resolver error: Error: read ECONNRESET

at Socket. (c:\Users\Administrator.cursor\extensions\ms-vscode-remote.remote-ssh-0.113.1\out\extension.js:2:293965)

at Object.onceWrapper (node:events:634:26)

at Socket.emit (node:events:531:35)

at emitErrorNT (node:internal/streams/destroy:169:8)

at emitErrorCloseNT (node:internal/streams/destroy:128:3)

at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

[10:11:51.321] ------

[10:11:51.519] > channel 2: open failed: unknown channel type: unsupported channel type

channel 2: open failed: unknown channel type: unsupported channel type

[10:11:51.563] > SHLVL=0

XDG_SESSION_ID=81

XDG_RUNTIME_DIR=/run/user/1000

SSH_CLIENT=10.10.2.11 50614 22

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

:/usr/local/games:/snap/bin

DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus

_=/usr/bin/printenv

Removing old logfile at /home/ars/.cursor-server/.cli.001668006cc714afd397f4ef0d

52862f5a095530.log

Spawned remote CLI: 2909070

Waiting for server log…

b9fc94fb2cd8: start

SSH_AUTH_SOCK====

DISPLAY====

listeningOn==/tmp/cursor-3f4628d0-edf6-41b8-97b3-57da2f9a006b==

osReleaseId==ubuntu==

arch==x86_64==

vscodeArch==x64==

bitness==64==

tmpDir==/run/user/1000==

platform==linux==

unpackResult====

didLocalDownload==0==

downloadTime====

installTime====

serverStartTime==54==

execServerToken==1a111111-11aa-1aaa-aa1a-1111a1aa1a1a==

b9fc94fb2cd8: end

[10:11:51.564] >

Connected to SSH Host - Please do not close this terminal

channel 2: open failed: unknown channel type: unsupported channel type

channel 2: open failed: unknown channel type: unsupported channel type

1 Like

When I pressed the uninstall button, it shows “No remote extension installed to resolve ssh-remote” while remote-ssh is in the .extensions directory

Hi. Try to set off remote.SSH.remoteServerListenOnSocket. This works for me.

It works! Thank you sooooooo much!!!