as the output shown here, the ssh connection becomes very fragile and opening folder gets much slower than before. However I can successfuly connect via terminal so I guess it’s something wrong with my cursor.
output.txt (34.3 KB)
as the output shown here, the ssh connection becomes very fragile and opening folder gets much slower than before. However I can successfuly connect via terminal so I guess it’s something wrong with my cursor.
output.txt (34.3 KB)
Hi @Ruby-719, from the logs I see:
(ssh_tunnel) stderr: debug1: expecting SSH2_MSG_KEX_ECDH_REPLY\cb1
\cb2 [Trace - 13:03:28.92] (ssh_tunnel) stderr: Connection reset by 140.210.209.209 port 54981\cb1
\
This indicates some sort of network issue. Have you adjusted any settings on the ssh client or server from their defaults?
thanks for the reply, but I don’t even know how to check if the ssh client/server’s setting was adjusted
When searching for that error code, it seems like it might be related to the MTU Size: https://unix.stackexchange.com/questions/722954/ssh-stuck-at-expecting-ssh2-msg-kex-ecdh-reply. It could also be an issue with the key exchange.
When you connect, could you try using this command (cmd/ctrl-shift-p, then “Remote-SSH: Connect to Host…”) and paste in the same ssh command that you used in the terminal, just to confirm the settings are the same for both?
I used the same command as you suggested and have some new error:
output2.txt (39.0 KB)
Hi @Ruby-719, it looks like it hit a timeout with the download. Could you try increasing it (maybe set it 300 or 600 seconds) and try it again? The default is 180 (3 minutes).
I used solutions like wiping .cursor-server and increasing the timeout. I just change another gpu server to see if this is something wrong with that. However I still cannot connet with cursor, even though I can successfully connect with either terminal or vscode. The error just said: (ssh_tunnel) stderr: ln: failed to create hard link ‘/tmp/cursor-remote-lock.02f8004e40c905d5d56514de1f758ee5407c992587af6d2e6f984a24ef7da549’: File exists
output3.txt (48.8 KB)
thanks @ravirahman for the help!
Hi @Ruby-719, wanted to share that we made some fixes to the Remote SSH extension
Could you try upgrading to version 1.0.6 of the Anysphere Remote SSH extension and share if you’re still running into issues? Thanks!