windows - Tortoise git 失败,没有可用的支持的身份验证方法(服务器发送 : publickey)

标签 windows git tortoisegit

我在这里不知所措。我让乌龟工作正常,但有些事情发生了变化。现在每当我尝试提交或从远程仓库中 pull 时,我都会得到

git.exe push --progress  "origin" master:master

FATAL ERROR: Disconnected: No supported authentication methods available (server sent: publickey)
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


git did not exit cleanly (exit code 128) (1250 ms @ 3/23/2014 10:18:15 AM)

我将 GIT_SSH 环境变量设置为 C:\Program Files (x86)\PuTTY\plink.exe 并且我有 pagaent.exe 使用我加载的私钥运行。 github 有我的公钥。

在控制台中运行相同的命令

git.exe push --progress "origin"master:master 工作得很好!我试过卸载乌龟,升级 git,创建一个新的 ssh key ,似乎没有任何效果。

谁能指出我正确的方向?

最佳答案

我发现了问题。我安装了Gow在某个时候,我正在生成一个选美版本。这个版本的 pagaent 与 Putty 附带的版本有些不同,因此乌龟失败了。当我运行 Putty 附带的 pagaent 版本时,一切终于再次运行。

关于windows - Tortoise git 失败,没有可用的支持的身份验证方法(服务器发送 : publickey),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22594263/

相关文章:

tortoisegit - 如何在 TortoiseGit 中设置默认的 PULL Remote ?

windows - 如何在 gtk 应用程序中隐藏控制台

windows - 批处理文件循环 x 次,将每个数字添加到字符串的末尾

git - 在 GIT 中,项目混合新旧版本子组件的最佳方式是什么?

git - 共享远程 git repo 将权限设置为 "-r--r-----"

git - Cygwin 和 TortoiseGit

Android ndk r7,Windows 上的 ffmpeg

windows - Windows 上的命令行 Git

git - 我克隆了一个远程分支。如何 checkout 大师?

git - 如何使用 tortoisegit 执行 rebase (squash)