Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
“I am using Remote SSH to connect to a GPU server. My local machine has a VPN proxy (TUN mode) enabled.
The ‘Ask’ and ‘Chat’ features work perfectly (meaning local network is fine).
However, the ‘Agent’ mode using Claude Opus/Sonnet 4.6 keeps showing ‘Connection Error (failed 10 times)’ or gets stuck at ‘Reconnecting…’.
I have already tried setting Http: Proxy Support to override and using SSH Reverse Tunneling (-R), but the Agent process on the remote host still cannot access the internet.”
Steps to Reproduce
Open Cursor on a local Windows machine.
Enable local VPN/Proxy (e.g., TUN mode).
Connect to a remote Linux server using “Remote SSH”.
Open “Agent” mode and send any prompt (using Claude 3.5 Sonnet or Opus).
The Agent process fails to connect to the internet, showing “Connection Error” or stuck at “Reconnecting…”, even though standard “Ask” and “Chat” features work perfectly.
Expected Behavior
The Agent should be able to connect to the internet and process prompts normally over Remote SSH, just like the standard “Chat” and “Ask” features do, either by utilizing the host network properly or respecting proxy settings.
Screenshots / Screen Recordings
Operating System
Windows 10/11
Version Information
cursor version:2.6.20
vscode version:1.105.1
Does this stop you from using Cursor
Yes - Cursor is unusable
