Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Title: SSH connections freeze AI chat interaction while IDE remains functional #2883

Open
3Dietrich opened this issue Mar 18, 2025 · 0 comments

Comments

@3Dietrich
Copy link

Short Description:
SSH connections in Cursor lead to apparently frozen AI chat while IDE remains functional. Workaround exists ("Close Remote Connection") but is undocumented. Without knowing the workaround, users lose their entire conversation by restarting. Problem occurs reproducibly with every SSH connection.

Detailed Description:

  1. Critical Issue:
  • AI chat interaction appears frozen while IDE remains functional
  • SSH connection continues in background (visible through debug outputs)
  • Workaround exists ("Close Remote Connection") but is not obvious
  • Users must find solution through trial and error
  • Without knowing workaround: Loss of entire conversation by closing window
  • Problem occurs reproducibly with every SSH connection
  1. Improvement Suggestions:
  • Clear indication of SSH connection status in UI
  • Visible option to close remote connection
  • Document workaround in help
  • Ideally: Automatic detection of "hanging" connection
  • Feedback about SSH connection status
  • Option to safely disconnect without losing conversation
  1. Impact:
  • Unnecessary time loss due to missing feedback
  • Frustration from apparently "frozen" communication
  • Risk of context loss if workaround unknown
  • Multiple restarts and conversation repetitions required
  • Inefficient workflow for SSH-related tasks
  1. Technical Details:
  • Affects: Darwin 24.3.0 (macOS)
  • SSH debug outputs continue (level 2 and 3)
  • IDE functions remain available
  • Chat interaction not properly suspended/resumed

Logs:
Initial connection:
debug1: Connecting to 192.168.0.127 [192.168.0.127] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x48
debug1: Connection established.
debug1: identity file /Users/dpa/.ssh/id_ed25519 type 3
debug1: identity file /Users/dpa/.ssh/id_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.8
debug1: Remote protocol version 2.0, remote software version OpenSSH_9.9

Continuous debug output while chat appears frozen:
debug2: client_check_window_change: changed
debug2: channel 2: request window-change confirm 0
debug3: send packet: type 98

These logs show that while the SSH connection is successful, Cursor continuously attempts to adjust the terminal window size and send new packets, even though the AI interaction appears frozen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant