When working on a remote SSH server, the first session runs normally, but subsequent sessions prompt the error An unexpected error occurred on our servers

Hey, thanks for the report. This is a known regression: a UriError when parsing Windows paths while collecting terminal context in Remote SSH.

A few things that might help:

Workaround (temporary fix):
Switch the bottom panel from Terminal to Output. This should let the agent work while terminal context isn’t being collected.

Check the Remote SSH extension:
Which Remote SSH extension do you have installed, Microsoft Remote-SSH or Anysphere Remote SSH?

  • If it’s Microsoft, uninstall it, install Anysphere Remote SSH, restart Cursor, and try again
  • Press CTRL + Shift + X > search for “Remote-SSH” > check the publisher

If the workaround doesn’t help, please share:

  • Your Anysphere Remote SSH extension version
  • Logs: View > Output > select “Remote-SSH” in the dropdown
  • The OS on the remote server (Linux or Windows?)

Related threads:

Let me know if switching to the Output panel helps.