[error] Error resolving SSH authority Failed to install server within the timeout

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I’ve been using Cursor to connect to remote servers normally. Today, while using it, I tried to connect to another server, but suddenly it showed a timeout error indicating that the connection was unavailable. Then, even reconnecting to the original server failed. The information output in the console is all as follows.
I’ve tried various solutions, including reinstalling the Remote SSH extension, reinstalling Cursor, and directly downloading and extracting the Cursor server on the target server, but none have worked. However, when I switched to another computer and used Cursor to connect to these servers, everything worked perfectly.
Not sure if this is useful information, but I’ve been experiencing constant lag and slow loading in my recent usage. However, another computer used for testing today didn’t have this issue.

Steps to Reproduce

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

I have tried many versions

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hi @jasper_song, could you try setting the remote.SSH.connectTimeout setting to 180? From the logs, it looks like the installation timed out.

Hi @ravirahman , I also got the “Failed to install server within the timeout“ error. I tried setting the `remote.SSH.connectTimeout to 180, but still got the same error.

same issue. vscode is normal, but cursor cannot connect

I set the timeout to 300 and it got connected!!!

I had the same issue today, and solved it by installing specific version of Remote SSH extension. I downgraded from 1.0.30 to 1.0.28, and it did the trick