如何解决TortoiseGitPlink致命错误?

问题描述 投票:16回答:7

我在Windows 7中使用Git和beanstalk。现在我使用Windows 8.1获得了新系统。现在我用新系统配置了Git和Tortoisegit。它在本地提交时运行良好但是当我推送到现场时我得到了错误:

Disconnected: No supported authentication methods available (Sever sent: public key)

我添加了SSH密钥和所有? Windows 8.1中有任何问题吗?谢谢

windows git tortoisegit
7个回答
41
投票

我打开TortoiseGit->设置 - >网络,在SSH客户端我更改了“ssh.exe”而不是“TortoiseGitPlink.exe”。现在它工作正常。


5
投票

或者从TortoiseGit文件夹(通常是C:\ Program Files \ TortoiseGit \ bin)运行Putty身份验证代理(Pageant.exe)并手动将PuttyKey添加到应用程序。


2
投票

此错误表示服务器需要公钥验证,并且客户端未提供密钥。

TortoiseGit默认使用TortoiseGitPLink(基于Putty Link)。

因此,它需要密钥以putty格式存储

  • 在putty会话OR中配置
  • 加载在putty代理中(如果启用了加载ssh密钥,则由TortoiseGit完成)。

但是,您也可以通过在TortoiseGit - >设置 - >网络上将SSH客户端设置为ssh.exe来使用OpenSSH。


1
投票

在Windows 8.1和TortoiseGit 2.1.0.0上,将SSH客户端更改为“ssh.exe”解决了这个问题。


1
投票

检查C:\ Program Files \ TortoiseGit \ bin下的pageant.exe是否正在运行。并添加密钥


0
投票

我收到此错误是因为我的密钥代理(KeePass KeyAgent插件)没有加载正确的密钥。添加了正确的密钥,一切都很好。


0
投票

TortoiseGit可能会不时卸载你的腻子钥匙。

只需打开TortoiseGit - >设置 - > Git - >远程

然后为您选择的远程连接(例如原点)重新加载您的putty密钥

© www.soinside.com 2019 - 2024. All rights reserved.