TortoiseGit disconnected no supported authentication

付费节点推荐


免费节点


节点使用教程


说明

在windows上用git命令提交到github,报错如下:Disconnected: No supported authentication methods available(server sent: publickey)。

附截图

 

 

解决方法:

1、TortoiseGit -> Settings –> Network->将SSH client设置成C:\Program Files\Git\usr\bin\ssh.exe

2、修改windows环境变量: GIT_SSH=C:\Program Files\TortoiseGit\bin\TortoiseGitPlink.exe修改为

GIT_SSH=C:\Program Files\Git\usr\bin\ssh.exe

未经允许不得转载:Bcoder资源网 » TortoiseGit disconnected no supported authentication

相关推荐

更多优质资源关注微信公众号: bcoder

bcoder
赞 (0)
分享到:更多 ()

评论 0

评论前必须登录!

登陆 注册