SSH not working but working for VC Code

Hi there.

I’m having issues ssh’ing htrough cursor.

Its been like this for some time. I upgraded my EC2 instance to be larger and it started working on VSCode a while ago and i’ve been using vscode since.

I’m trying cursor and i’m getting this

I tried what was suggested here but I dont seem to have a cursor-server folder. I do have a vscode-server folder

I’m getting this but my config is the same as what I have in vscode

[Info - 22:34:00.903] Resolving ssh remote authority ‘ssh-remote+ec2-instance’ (attemp #1)

[Trace - 22:34:00.913] Identity keys:

/Users/god/Desktop/Desktop/Seda/Development/SedaProd/Seda1.pem ssh-rsa SHA256:mIYOc6RcxruLK13Na/AEPPbU61jrungS0JWtwLAJkZ0=

[Info - 22:34:01.73] Trying no-auth authentication

[Info - 22:34:01.108] Trying publickey authentication: /Users/god/Desktop/Desktop/Seda/Development/SedaProd/Seda1.pem ssh-rsa SHA256:mIYOc6RcxruLK13Na/AEPPbU61jrungS0JWtwLAJkZ0=

[Error - 22:34:01.176] Error resolving authority

Error: All configured authentication methods failed

at _e (/Applications/Cursor.app/Contents/Resources/app/extensions/open-remote-ssh/dist/main.js:1:143674)

at /Applications/Cursor.app/Contents/Resources/app/extensions/open-remote-ssh/dist/main.js:1:442574

at authHandler (/Applications/Cursor.app/Contents/Resources/app/extensions/open-remote-ssh/dist/main.js:1:438083)

at Ee (/Applications/Cursor.app/Contents/Resources/app/extensions/open-remote-ssh/dist/main.js:1:146547)

at USERAUTH_FAILURE (/Applications/Cursor.app/Contents/Resources/app/extensions/open-remote-ssh/dist/main.js:1:135374)

at 51 (/Applications/Cursor.app/Contents/Resources/app/extensions/open-remote-ssh/dist/main.js:1:286815)

at e.exports.q (/Applications/Cursor.app/Contents/Resources/app/extensions/open-remote-ssh/dist/main.js:1:157288)

at q.decrypt (/Applications/Cursor.app/Contents/Resources/app/extensions/open-remote-ssh/dist/main.js:1:250425)

at e.exports.F [as _parse] (/Applications/Cursor.app/Contents/Resources/app/extensions/open-remote-ssh/dist/main.js:1:156812)

at e.exports.parse (/Applications/Cursor.app/Contents/Resources/app/extensions/open-remote-ssh/dist/main.js:1:160615)