Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error -16 (SSH response issue) with Godot 4.2.1 Stable #215

Open
sillypears opened this issue Jan 4, 2024 · 10 comments
Open

Error -16 (SSH response issue) with Godot 4.2.1 Stable #215

sillypears opened this issue Jan 4, 2024 · 10 comments
Labels

Comments

@sillypears
Copy link

While being able to stage/unstage and commit files without issue, pushing to and pulling from Git over SSH appears to not work for me. If I open the repository in VSCode (or from cmd line) I am able to push and pull without issue.

I setup my respos to use SSH transport and in the VCS I have added my keys. Refreshing, pulling or pushing commits causes the Godot editor to freeze for ~2 minutes (assuming this is the SSH timeout). Screenshot of the error below.

Not sure if I'm doing something wrong or if there was something I missed.

image

@Calinou Calinou added the bug label Jan 4, 2024
@Calinou
Copy link
Member

Calinou commented Jan 4, 2024

Which Git host are you trying to push to? Does your SSH key use ECDSA (elliptic curve) cryptography? See #193.

@sillypears
Copy link
Author

sillypears commented Jan 4, 2024

This is going to Github.com

It's been a while since I had created the key so I'm unsure, but it's possible that I created it with ECDSA. I know on MacOS it was giving me some issues because it was an OPENSSH generated key instead of RSA and I had to do some conversions to have the Mac even load the key. I've tried both versions of that with the plugin and both failed.

I've switched to having a 2nd remote as an HTTP origin and PAT for now. If there is any kind of debugging I can run have it the plugin show more information, I'm happy to try that out.

@Mishaniz
Copy link

I am encountering the same issue, trying to push to Github with an RSA key.

@Herbherth
Copy link

Same, using SSH doesn't seems to work. Tried with Ed25519 and RSA keys.

I've switched to having a 2nd remote as an HTTP origin and PAT for now. If there is any kind of debugging I can run have it the plugin show more information, I'm happy to try that out.

Luckily that works out for me too, thankyou, I just wish that I could have the option to save the PAT so I don't have to put it again every time I want to push something.

@LaurentOngaro
Copy link

same issue for me with SSH
and it works fine with an HTTPS url in the git config file

@unchowder
Copy link

Just wanted to chime in that I experienced the same thing. SSH wasn't connecting with error -16, but an HTTPS url for the remote and a PAT for the password works.

I'm new-ish to software and mostly self-taught, so this tripped me up for a bit since I was just following the plugin documentation, which makes no mention of this issue.

@Calinou
Copy link
Member

Calinou commented Apr 8, 2024

I'm new-ish to software and mostly self-taught, so this tripped me up for a bit since I was just following the plugin documentation, which makes no mention of this issue.

I've modified the wiki setup page to warn about known issues in SSH authentication.

@Buczkek
Copy link

Buczkek commented May 11, 2024

I've had the same issue with the RSA key, after hours of searching for a fix I found out that the SSH key in PEM format works fine.

@howardwu1
Copy link

howardwu1 commented May 21, 2024

I've had the same issue with the RSA key, after hours of searching for a fix I found out that the SSH key in PEM format works fine.

Thank you so much @Buczkek
Confirmed this works for me too. Would love if the docs were changed to have this fix!

@Tetriser
Copy link

Tetriser commented Aug 8, 2024

I still get the error even if my RSA key is in PEM format
Created it using ssh-keygen -t rsa -m PEM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants