# Open Chat as Editor doesn't work on SSH instances and locks up the editor permanently for a opened folder on the SSH

**URL:** <https://forum.cursor.com/t/open-chat-as-editor-doesnt-work-on-ssh-instances-and-locks-up-the-editor-permanently-for-a-opened-folder-on-the-ssh/149874>\
**Category:** Bug Reports\
**Tags:** crashes, ssh, chat\
**Created:** [January 25, 2026, 11:54pm UTC](https://forum.cursor.com/t/open-chat-as-editor-doesnt-work-on-ssh-instances-and-locks-up-the-editor-permanently-for-a-opened-folder-on-the-ssh/149874 "2026-01-25T23:54:47Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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 26, 2026, 4:25am UTC](https://forum.cursor.com/t/open-chat-as-editor-doesnt-work-on-ssh-instances-and-locks-up-the-editor-permanently-for-a-opened-folder-on-the-ssh/149874/4 "2026-01-26T04:25:31Z")

</div>

Hey, thanks for the report. This is a known issue. It’s already logged, and there’s an active thread with workarounds here: [“Open Chat as Editor” causes permanent black screen when reopening project](https://forum.cursor.com/t/open-chat-as-editor-causes-permanent-black-screen-when-reopening-project/148515)

For the SSH case (based on your video, it looks like you’re using Remote SSH):

Close Cursor completely, then on the remote machine delete the corrupted state:

```bash
rm -rf ~/.cursor-server
rm -rf ~/.cursor

```

On your local machine (Windows), find the workspace storage for this project:

- Open `%AppData%\Cursor\User\workspaceStorage\`
- Find the folder for your project (open `workspace.json` in each subfolder)
- Delete `state.vscdb` and `state.vscdb.backup` in that folder (WARNING: this will delete all chat history, so make a backup first)

Reconnect over SSH and it should work.

Important: Until this is fixed, don’t use “Open Chat as Editor”. If you need the chat in the editor, just drag the chat tab into the editor area.

Let me know if it still doesn’t help.

---

_[View the full topic](https://forum.cursor.com/t/open-chat-as-editor-doesnt-work-on-ssh-instances-and-locks-up-the-editor-permanently-for-a-opened-folder-on-the-ssh/149874)._
