ITOMO
January 25, 2024, 8:58pm
1
Others have reported that they cannot ssh.
How to deal with this?
In VScode, it is possible.
Cursor: 0.20.2
Windows Server 2019
Remote host: CentOS8
[Trace - 03:23:33.697] Server install command stdout:
Downloading server from ‘https://cursor.blob.core.windows.net/remote-releases/0.20.2-33c8b08492b48664cb00a8ab054f2d60697bbf90/vscode-reh-linux-x64.tar.gz ’
Error downloading server from https://cursor.blob.core.windows.net/remote-releases/0.20.2-33c8b08492b48664cb00a8ab054f2d60697bbf90/vscode-reh-linux-x64.tar.gz
83e445c30c55ec138e74661d: start
exitCode==1==
listeningOn====
connectionToken====
logFile==/home/user/.cursor-server/.e828afa25b30c59e602dba98c5060e2f1d552120.log==
osReleaseId==ubuntu==
arch==x86_64==
platform==Linux==
tmpDir==/run/user/1000==
83e445c30c55ec138e74661d: end
[Error - 03:23:33.697] Error resolving authority
Error: Couldn’t install vscode server on remote server, install script returned non-zero exit status
at t.installCodeServer
when connect to remote host, the error message is shown as above. but if i do the same thing by vscode, it can connect successfully. ping and ssh command have also been checked, and all pass.
Same here, no issues at all sshing from Cursors integrated terminal. SSH host is a rpi running DietPi (ARM).
[Info - 06:01:08.887] Resolving ssh remote authority 'ssh-remote+192.168.0.157' (attemp #1)
[Trace - 06:01:08.912] Identity keys:
C:\Users\...\.ssh\id_rsa ssh-rsa SHA256:hcHw4P...=
[Info - 06:01:08.944] Trying no-auth authentication
[Info - 06:01:08.945] Trying publickey authentication: C:\Users\...\.ssh\id_rsa ssh-rsa SHA256:hcHw4P...=
[Info - 06:01:08.946] Trying password authentication
[Trace - 06:01:10.735] Server install command:
# Server installation script
(omitted for brevity)
[Error - 06:01:10.739] Error resolving authority
Error: Unable to exec
at Array.<anonymous> (c:\Users\...\AppData\Local\Programs\cursor\resources\app\extensions\open-remote-ssh\dist\main.js:1:148748)
at i (c:\Users\...\AppData\Local\Programs\cursor\resources\app\extensions\open-remote-ssh\dist\main.js:1:367828)
at ChannelManager.cleanup (c:\Users\...\AppData\Local\Programs\cursor\resources\app\extensions\open-remote-ssh\dist\main.js:1:369421)
at Socket.<anonymous> (c:\Users\...\AppData\Local\Programs\cursor\resources\app\extensions\open-remote-ssh\dist\main.js:1:143320)
at Socket.emit (node:events:513:28)
at Socket.emit (node:domain:489:12)
at TCP.<anonymous> (node:net:322:12)
This issue was resolved by replacing Dropbear with openssh, still strange that VSCode was able to connect without issues ¯_(ツ)_/¯