Describe the Bug
Need to support remote.SSH.defaultForwardedPorts
settings:
"remote.SSH.defaultForwardedPorts": [
{
"localPort": 5000,
"name": "server port",
"remotePort": 5000
}
],
Right now it’s able to detect port 5000 but will forward to a random port on localhost that we can’t control
Steps to Reproduce
Run echo "localhost:5000"
in your terminal and the extension will forward 5000 to a random port
Expected Behavior
it should forward it to 5000 as well, unless it has been occupied
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.2.1
VSCode Version: 1.99.3
Commit: 031e7e0ff1e2eda9c1a0f5df67d44053b059c5d0
Date: 2025-07-03T06:06:37.704Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.4.0
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor