When I try an push to my remote repo (Unfuddle) using TortoiseGit, my favourite tool, I get the following error. I then open GitGUI and am able to push with no problem. I have gathered through some googling that pageant needs to be running for some PuTTY variants, and it is running. Where do I look next?
No supported authentication methods available (server sent: publickey)
The “fatal: Authentication failed” error message Instead you need to generate a personal access token. This can be done in the application settings of your Github account. Using this token as your password should allow you to push to your remote repository via HTTPS. Use your username as usual.
Use the TortoiseGit Puttykey generator to create a new keypair add your public key to GitHub. Clone/create a new repository. In thee Tortoise repository settings, set your fullname and email. Then in remote menu under the Git configuration menu enter your clone URL and select your PuTTY key.
Right click → TortoiseGit → Settings → Git → Credential. Save this answer.
We'll need to configure TortoiseGit - to do this, right click anywhere on your Desktop, select TortoiseGit and then Settings. Find Git and then click on Config from the menu on the left. Then fill in your Name and Email, making sure to use the same email that you used to sign up for Assembla.
I had the same problem.
I think the problem was that my Putty key was not set in my TortoiseGit Settings. I had to convert my bitbucket repository private key to a putty private key (.ppk file).
This is how I fixed it:
I downloaded puttygen.exe
I opened puttygen
And voilà, I was able to push to my origin repository.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With