SSH Remote connection fails to open terminal

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Creating an SSH remote connection to a Linux machine succeeds initially, but the remote terminal fails to open. Instead, Cursor shows a URI parsing error and no usable terminal session is created.

This issue occurs consistently on both Windows and WSL2 environments.

Steps to Reproduce

Create an SSH remote connection to a Linux machine on Windows / WSL2 environments

Screenshots / Screen Recordings


Operating System

Windows 10/11

Version Information

Version: 2.4.23 (user setup)
VSCode Version: 1.105.1
Commit: 379934e04d2b3290cf7aefa14560f942e4212920
Date: 2026-01-29T21:24:23.350Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This is a known issue with Remote SSH. The error happens when you connect to the root directory / or anywhere above /root (where .cursor-server gets installed).

Similar report with a root cause breakdown

Workaround: when setting up the SSH connection, set the working directory to /root or below (for example /root/projects) instead of /.

Can you confirm if you’re connecting to / or to a specific directory? If it’s a specific directory and you still get the error, let me know and we’ll dig in deeper.

Thanks for the quick response and the explanation :folded_hands:
Yes, I am connecting directly to /.

1 Like