still cant get ssh to work in 3.2.0

未关闭
#293 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
30/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
cpp, git
领域
tooling

调研方向

首先,使用 issue 中描述的配置复现 Windows SSH 连接,然后检查 godot-git-plugin\src\git_plugin.cpp 中第 533 行附近的 GitPlugin::_push,以及所报告的 variant_utility.cpp 位置。确定远程主机密钥被拒绝的原因;当 SSH remote 能够连接并在没有 invalid or unknown hostkey 错误的情况下 push 时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

bug

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!

主要语言
C++
星标
966
派生
100
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

godotengine/godot-git-plugin 的其他 Issue

查看 godotengine/godot-git-plugin 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。