New to Cursor. Authority error connecting to Brev servers after sleep

I am trying out Cursor but am frustrated with the experience connecting so far. I am using nVidia Brev and using the commands recommended in the documentation to connect. After spinning up a new server I can connect without issue and everything works great, however if I put the server to sleep and wake it (the IP does not change) I can no longer connect.

2026-03-19 07:23:20.351 [error] Error resolving SSH authority Failed to connect to the remote SSH host. Please check the logs for more details.

I can still ssh into the server via command line with no issue. I tried a dozen troubleshooting steps from other posts and verifying nothing is wrong with the ssh connection.

Found a few more details by copying the log to clipboard. Still makes little sense to me.
[info] Started installation script. Waiting for it to finish…
[info] Waiting for SSH handshake (timeout: 120s). Install timeout: 30s.
[info] (ssh_tunnel) stderr: getsockname failed: Bad file descriptor

[info] (ssh_tunnel) stderr: client_loop: send disconnect: Bad file descriptor

[info] (ssh_tunnel) stderr: The process tried to write to a nonexistent pipe.

[error] SSH process exited (code 255) before connection was established (after 78ms)
[error] Pre-connection stderr: getsockname failed: Bad file descriptor
client_loop: send disconnect: Bad file descriptor
The process tried to write to a nonexistent pipe.

Got a response from Brev support. For some reason with Brev you must run a command “brev refresh” after you stop and start any server before you can connect with Cursor. I switched to Hostinger and I am not having any problems so far.

Hey, glad you got it sorted out. Looks like this is on Brev’s side. Cursor just can’t set up an SSH tunnel if Brev hasn’t refreshed its SSH keys or configs after a server restart.

Thanks for coming back and sharing the fix. It’ll help other users who are using Brev.

Marking this thread as solved.