Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to solve TortoiseGitPlink Fatal Error? [closed]

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

like image 894
SDF Avatar asked Jan 23 '15 09:01

SDF


4 Answers

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

like image 80
SDF Avatar answered Oct 16 '22 14:10

SDF


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

like image 30
user7784804 Avatar answered Oct 16 '22 16:10

user7784804


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 (cf. https://tortoisegit.org/docs/tortoisegit/tgit-ssh-howto.html) OR
  • loaded in putty agent (this is done by TortoiseGit if loading ssh keys is enabled; can also be done manually by starting Putty authentication agent (can be found in the Startmenu or in TortoiseGit installation folder) and then loading your key; also other alternatives such as KeePass KeyAgent integrations exist).

You can, however, also use OpenSSH, by setting the SSH client to ssh.exe on TortoiseGit -> Settings -> Network if you have a OpenSSH key configured.

like image 5
MrTux Avatar answered Oct 16 '22 16:10

MrTux


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

like image 2
Avinash Wable Avatar answered Oct 16 '22 15:10

Avinash Wable