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.
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.
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
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.
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
Hi! We recently released a new Remote SSH extension that is bult and maintained by the Cursor team.
If you’re still hitting SSH issues, could you uninstall the existing Remote SSH extension, and install the anysphere.remote-ssh extension instead? This has resolved connection issues for others.
You can find it by searching for @id:anysphere.remote-ssh in the extension search box. Attaching a screenshot
Hi! The Remote-SSH extension (v0.0.27, updated on 2025-05-07 at 10:36:39) has stopped functioning properly after the latest update. Previously, the extension worked normally, but now it displays the following error:
“Connection to Cursor server failed: Failed to install the Cursor Server. Please check the logs for more details.”
Attempted troubleshooting steps (Reinstall Server, Reload Window) were unsuccessful.
Thanks for the quick response. Apologies, it seems the connection failure was caused by my local network blocking port 22, not the extension itself. I’ve changed the port and can now connect successfully.
are there any other tips? i replaced the old ssh with anysphere.remote-ssh. It looks better on the surface -i.e. the disconnection warning is gone but the connection is still interrupted quite often. i restarted the remote server, and it did not solve the problem. The vs code connection is quite good.
I also have tried the recommendations listed here, but I am still having the same issues. Cursor asks to allow for tcp forwarding, which I have done. However, it acts just the same, and asks again to make sure tcp forwarding is allowed. No issues with VS Code, as this is still only a cursor problem.
I am also attaching my Remote - SSH log file Remote - SSH.txt (322.3 KB)