Skip to content

still cant get ssh to work in 3.2.0 #293

Open

Description

@kenpachizero

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

Thanks in advance!

Activity

  1. Calinou commented on Jun 6, 2025

    @Calinou
    Member

    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:

    git remote remove origin
    git remote add origin [email protected]:user/repo.git
    
  2. kenpachizero commented on Jun 7, 2025

    @kenpachizero
    Author

    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

  3. TChunVanOsdol commented on Mar 10, 2026

    @TChunVanOsdol

    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.

  4. Calinou commented on Oct 22, 2026

    @Calinou
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions