Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Whenever the AI tries to run any terminal command over an SSH workspace, the output is always a series of shell errors:
--: line 2: ---: command not found
--: line 3: A: command not found
--: line 4: If: command not found
--: line 5: Tue: command not found
--: line 6: --------------------------------: command not found
--: line 1: dump_bash_state: command not found
The command never runs.
This happens for every command and only on Remote SSH.
The normal integrated terminal works fine; only the AI/Agent-powered terminal is broken.
Steps to Reproduce
- Open Cursor
- Connect to any remote server using SSH Workspace
- Ask the AI to run a command (e.g., “run ls”)
- AI attempts to run it → the terminal immediately prints the errors above
- No command ever actually executes
This is 100% reproducible on Remote SSH.
Expected Behavior
AI Terminal should inject its shell state, start correctly, and execute commands normally inside an SSH workspace.
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.0.77
VSCode Version: 1.99.3
Commit: ba90f2f88e4911312761abab9492c42442117cf0
Date: 2025-11-13T23:10:43.113Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0
Additional Information
- Normal terminal inside Cursor works perfectly
- Only the AI terminal over SSH is broken
- This completely blocks the AI’s ability to run any command on the remote machine
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor
