# Agent connection error - remote SSH - when console open

**URL:** <https://forum.cursor.com/t/agent-connection-error-remote-ssh-when-console-open/147917>\
**Category:** Bug Reports\
**Created:** [January 4, 2026, 4:42am UTC](https://forum.cursor.com/t/agent-connection-error-remote-ssh-when-console-open/147917 "2026-01-04T04:42:19Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [January 4, 2026, 7:48am UTC](https://forum.cursor.com/t/agent-connection-error-remote-ssh-when-console-open/147917/3 "2026-01-04T07:48:28Z")

</div>

Hey, thanks for the report.

This is a known regression - the UriError in `resolveRelativePath` is a Windows path parsing bug when collecting terminal context.

Workaround: Switch the bottom panel from Terminal to Output (select “Remote-SSH” in the dropdown). This should allow agent to work while terminal context isn’t collected.

Similar reports:

- [AI chats fail if Terminal is visible](https://forum.cursor.com/t/ai-chats-fail-if-terminal-is-visible/143798)
- [Connection Error using SSH](https://forum.cursor.com/t/connection-error-using-ssh/144036)

The team is tracking this. Let me know if the workaround helps.

---

_[View the full topic](https://forum.cursor.com/t/agent-connection-error-remote-ssh-when-console-open/147917)._
