Since last week, my developers have been unable to connect to two servers via SSH.
It was working perfectly, but suddenly it stopped working.
I installed the latest version of Cursor and Remote-SSH on my machine to test and I’m experiencing the same problem.
It seems the error lies here:
info] SSH connection established after 3616ms (first stdout received)
[info] (ssh_tunnel) stdout: Using TMP_DIR: /run/user/1001
[error] Error installing server: [o [RemoteSSHError]: Failed to configure the Cursor server on the remote SSH host. Please check the logs for more details.
at t.installCodeServer (c:\Users\Utilisateur.cursor\extensions\anysphere.remote-ssh-1.0.53\dist\main.js:4:197302)
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
at async c:\Users\Utilisateur.cursor\extensions\anysphere.remote-ssh-1.0.53\dist\main.js:4:477294] {
disconnectReason: ‘unknown’
}
[info] Deleting local script C:\Users\UTILIS~1\AppData\Local\Temp\cursor_remote_install_146d40da-78d5-48b9-9b8e-ca85ba373dd4.sh
[error] Error resolving SSH authority [o [RemoteSSHError]: Failed to configure the Cursor server on the remote SSH host. Please check the logs for more details.
at t.installCodeServer (c:\Users\Utilisateur.cursor\extensions\anysphere.remote-ssh-1.0.53\dist\main.js:4:197302)
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
at async c:\Users\Utilisateur.cursor\extensions\anysphere.remote-ssh-1.0.53\dist\main.js:4:477294] {
disconnectReason: ‘unknown’
}
I tried doing the same thing in VS Code and it works.
Can you help us ?
Thanks !
Steps to Reproduce
Create a new host ssh or use an existent.
Connect remote ssh.
No, stay in this thread. Your error is different from that regression. Your SSH tunnel comes up fine, the install script starts on the remote and then crashes there. This is a server-side issue, not the 1.0.51 client bug, so downgrading didn’t help.
Most often it’s one of these two:
/run/user/1001 is mounted as tmpfs with noexec (common on some Debian setups), and the installer can’t run the unpacked binaries from TMP_DIR.
After you deleted the old .cursor folder on the server, some leftovers stayed behind, or $HOME (or the partition for ~/.cursor-server) is also mounted with noexec.
Can you send the following from the remote host, using the same user you connect with:
mount | grep -E "/run/user/1001|$HOME"
ls -la /run/user/1001
ls -la ~/.cursor-server ~/.cursor 2>/dev/null
cat ~/.cursor-server/.cursor-server.log 2>/dev/null | tail -80
df -h /run/user/1001 $HOME
And if it exists, the contents of ~/.cursor-server/.cursor-server.log (or any *.log in ~/.cursor-server). It should show exactly what part of the install is failing.
Workaround A: if /run/user/1001 has noexec. Add this on the remote in ~/.bashrc (or ~/.profile):
After either workaround, in Cursor run Ctrl+Shift+P then Remote-SSH: Kill VS Code Server on Host..., then connect again. If noexec is the cause, it should work.