Getting disconnected from the Remote SSH

I am having a problem with the connection to the Ubuntu server I am working on with Cursos via Remote SSH. It keeps on dropping, sometimes once in every 10-20 minutes, other times every few minutes.

What I have established so far:

  • There are no disconnections when I connect with standard SSH (ie Termius)
  • I am using port 2222 instead of standard 22, but the problem existed there as well
  • I changed settings to keep alive, accept password auth etc, on the server settings files
  • I don’t have this problem with other server I connect to from the same Cursor

Please help, I am losing faith in Cursor because of this.

2 Likes

I’m also getting the same issue

Hey, can you both confirm you don’t have this issue with standard VSCode, as I don’t believe our implementation of Remote SSH deviates much from that.

Same here. Yesterday cursor was working fine but today it started disconnecting from the server (in different computers). I have checked with VSCode and this does not happen.

I was having the same issue when i upgrade the cursor to “0.45.10”.

For me, deleting “.cursor-server” in my home directory on remote machine fixed it.

2 Likes

Huge problem. I spent at least 20 minutes a day waiting for SSH to connect. Not a problem with VSCode or VSCode Insiders.

Hi, I’m still encountering this issues as well. I’ve tried my ssh connect which looks good. I wonder it comes from some underlying I/O bandwidth limitation of one process or not, either for communicate between models on the internet (API) or send packages of IDE to local

Still broken after the update. I keep losing my work context every hour because of this.

I’m having the same issue. I keep crashing and then locks my SSH so I can’t even access my VPS from WSL or VSCode so I have to either wait or hard reboot.

Same issue here, and works completely fine in VSC.

Same issue. On a 10 GbE local connection, but it’s oddly slow to type things in, and I routinely get disconnected.

I have the same issue with Cursor trying to maintain a connection to Home Assistant. It seems to be dropping the connection every few seconds. Has anyone found a solution to this yet?

I’m using (trying to) Remote-SSH > Home Assistant SSH Add-On. The Logs are:

Read error from remote host 10.3.0.123 port 7860: Connection reset by peer
Read error from remote host 10.3.0.123 port 7860: Connection reset by peer
Read error from remote host 10.3.0.123 port 7860: Connection reset by peer
Read error from remote host 10.3.0.123 port 7860: Connection reset by peer