Title
How to sync previous Cursor chat history after switching from VS Code Remote SSH to Anysphere SSH?
Body
Background
I used to connect to the same remote server and project path via VS Code Remote SSH, and I had existing chat history in Cursor for that workspace. After switching to Anysphere SSH (same server, same path), the previous chat history no longer shows up.
Steps to Reproduce
- Connect via VS Code Remote SSH (Host alias:
OLD_ALIAS) and open the project path:e.g., /mnt/nvme/tangwh/agentdesign. Chats exist in Cursor for this workspace. - Switch to Anysphere SSH with the same server and the same project path.
- Open the project in Cursor. The previous chats are not visible.
Actual Result
- No previous chats appear when using Anysphere SSH for the same server/path.
Expected Result
- Be able to retain or migrate previous chat history when switching connection methods, or have an official export/import or merge workflow.
What I Tried
- Reopening via VS Code Remote SSH shows the old chats.
- Couldn’t find an “import history” or “link old workspace” option in the new workspace.
- I suspect the workspace identifier (host alias/path/connection method) changed, and I’m looking for official guidance.
Questions
- Are chats scoped by a workspace identifier that can change with host alias/path/connection method?
- Is there a supported way to migrate/merge chats to the new workspace (e.g., export/import, redirect workspace ID, or a configuration)?
- If yes, could you share steps or documentation? If not, any recommended backup/archive approach?
- Is there documentation about where chats are stored and how to manually migrate on the same machine/account?
Environment
- OS:
Linux 5.15.x(ormacOS/Windows) - Cursor version:
0.x.x - VS Code version:
1.xx.x - Remote SSH extension version:
ms-vscode-remote.remote-ssh vX.Y.Z - Anysphere SSH version:
vX.Y.Z - Remote host and path:
user@host:/mnt/nvme/tangwh/agentdesign - Host alias change:
Yes/No(e.g.,devserver→devserver-any) - Same user/permissions:
Yes/No