Remote SSH Not connecting

I’ve updated to the latest version. However this was previously an issue before updating. I was going to wait until I was granted the update before reporting.

Here’s the issue. Connecting to a remote returns the following error.

print_install_results_and_exit 0

[Trace  - 19:19:30.635] Server install command stderr:
limitedshell: line 1: /usr/bin/bash: Permission denied

[Trace  - 19:19:30.635] Server install command stdout:
[Error  - 19:19:30.635] Error resolving authority
Error: Failed parsing install script output
	at t.installCodeServer (/Applications/Cursor.app/Contents/Resources/app/extensions/open-remote-ssh/dist/main.js:1:817272)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async /Applications/Cursor.app/Contents/Resources/app/extensions/open-remote-ssh/dist/main.js:1:438341

However, one thing to note is that my bash path is /bin/bash not usr/bin/bash. Not sure if this is the root cause but I can’t figure out how to address this issue.

Also if I just ssh directly in the terminal I have no issues connecting so I’m sure it’s not the key.

What version of Cursor are you using? 0.13.2 had a SSH fix. You can check in “Help” => “About”:

image

Don’t think this will be solved by the new update; looks like a separate problem hmm Seems like the problem is the script doesn’t have access to /usr/bin/bash. Do you have anything special going on with permissions there?

@truell20 Thanks for the reply. Nothing different with permissions. However, There isnt a usr/bin/bash on my machine. My bash bath is /bin/bash not usr/bin/bash.

@Jakob

Version: 0.13.2

VSCode Version: 1.83.1

Commit: 49547f58a41e0d32d2b8b423451455f8cab646c0

Date: 2023-10-24T04:09:50.308Z (2 days ago)

Electron: 25.8.4

ElectronBuildId: undefined

Chromium: 114.0.5735.289

Node.js: 18.15.0

V8: 11.4.183.29-electron.0

OS: Darwin arm64 22.5.0

Is there any update on this? Can anyone help?

1 Like