How to solve TortoiseGitPlink Fatal Error?

孤人 提交于 2019-11-30 08:54:18

问题


I was using Git with beanstalk in windows 7. Now I got new system with Windows 8.1. Now I configured Git and Tortoisegit with new system.Its working fine in local commit but when I pushed to live I got error:

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

I added SSH key and all? Is there any problem in Windows 8.1? Thanks


回答1:


I opened TortoiseGit->Settings -> Network and in SSH Client I changed "ssh.exe" instead of "TortoiseGitPlink.exe". Now it works fine.




回答2:


Or run Putty authentication agent (Pageant.exe) from TortoiseGit folder (usually C:\Program Files\TortoiseGit\bin) and add PuttyKey manually to the app.




回答3:


This error indicates that the server requires public key authentication and no key was provided by the client.

TortoiseGit by default uses TortoiseGitPLink (which is based on Putty Link).

Therefore it requires key to be stored in the putty format and also

  • configured in the putty session OR
  • loaded in putty agent (this is done by TortoiseGit if loading ssh keys is enabled).

You can, however, also use OpenSSH, by setting the SSH client to ssh.exe on TortoiseGit -> Settings -> Network.




回答4:


On windows 8.1 and TortoiseGit 2.1.0.0, changing SSH Client to just "ssh.exe" solved this issue.




回答5:


check pageant.exe under C:\Program Files\TortoiseGit\bin is running. and add key




回答6:


I received this error because my key agent (KeePass KeyAgent plugin) didn't have the correct key loaded anymore. Added the correct key and everything was fine.




回答7:


TortoiseGit may, from time to time, unload your putty key.

Simply open TortoiseGit -> Settings -> Git -> Remote

Then reload your putty key for your chosen remote connection (e.g. origin)



来源:https://stackoverflow.com/questions/28106717/how-to-solve-tortoisegitplink-fatal-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!