You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi All,
I hoped this update would fix the ssh issue on windows but sadly I'm still having it so I thought I should get some help now. I have been successful in connecting via https to git and uploading but dont want to add the password everyday.
Here is what i have done:
in putty made new rsa(2048) ssh keys
exported the public and went export openssh key
uploaded that to github
added in the ssh to the vcs plugin
and edited the file at C:\game.git\config and changed the url from https:// to ssh://
doing that i get the following error:
ERROR: core/variant/variant_utility.cpp:1098 - GitPlugin: Could not connect to remote "origin". Are your credentials correct? Try using a PAT token (in case you are using Github) as your password. Error -17: invalid or unknown remote ssh hostkey in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_push#L533
and edited the file at C:\game.git\config and changed the url from https:// to ssh://
The URL for a SSH remote should be of the form [email protected]:user/repo.git. Remember to restart the editor after changing it (I've had issues with the Godot editor not picking up changes to remotes automatically while it's open).
By the way, you don't have to edit the Git configuration manually. Instead, you can do:
Hi Calinou, I tried that but unfortunately got the same error:
ERROR: core/variant/variant_utility.cpp:1098 - GitPlugin: Could not connect to remote "origin". Are your credentials correct? Try using a PAT token (in case you are using Github) as your password. Error -17: invalid or unknown remote ssh hostkey in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_push#L533
Reacted by Culain, Pilif, Julie, Craig Bartle, phomeon, RELMY Mathieu, Martin Maugard and Mukiy
I was able to fix this by creating/updating my .ssh/known_hosts to include github.com using their provided public key entries. If your known_hosts file is already populated with github, you should check that the authentication type is appropriate and the public key fingerprints match.
Activity
Calinou commentedon Jun 6, 2025
The URL for a SSH remote should be of the form
[email protected]:user/repo.git. Remember to restart the editor after changing it (I've had issues with the Godot editor not picking up changes to remotes automatically while it's open).By the way, you don't have to edit the Git configuration manually. Instead, you can do:
kenpachizero commentedon Jun 7, 2025
Hi Calinou, I tried that but unfortunately got the same error:
ERROR: core/variant/variant_utility.cpp:1098 - GitPlugin: Could not connect to remote "origin". Are your credentials correct? Try using a PAT token (in case you are using Github) as your password. Error -17: invalid or unknown remote ssh hostkey in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_push#L533
TChunVanOsdol commentedon Mar 10, 2026
I was able to fix this by creating/updating my .ssh/known_hosts to include github.com using their provided public key entries. If your known_hosts file is already populated with github, you should check that the authentication type is appropriate and the public key fingerprints match.
Calinou commentedon Oct 22, 2026
Please test this on 3.3.0 to see if it's resolved: https://github.com/godotengine/godot-git-plugin/releases/tag/v3.3.0