I know there's already discussion of this problem in various places (in and out of Stack Overflow), but I haven't found a solution that works consistently. Right now, I'm trying to connect to github via putty.
I'm connecting to github.com, loading my private key, and getting a
login as:
prompt. When I hit enter, I get the usual "Disconnected: No supported authentication methods available" error message. I am passing along the correct private key! (I've tested this key from another computer and it works). I've tried with and without pageant (and made sure the key is loaded there). How do you recommend I proceed?
Edit - The problems I'm experiencing pushing to github seem to manifest themselves in one of my repositories, but not the other. How can I check or fix the damaged repository? (It doesn't appear damaged in any other way, I just can't push anything from it). Both use the same key.
This was the answer for me:
http://false.ekta.is/2010/05/putty-pageant-git-and-github-key-problems/
Do not try things like opening up your saved public key, removing the comment lines, and adding ssh-rsa
to the front or things like that. It won’t work.
Well, this doesn't really answer my original question (Connecting with PuTTY), but I did find out what the problem with the repository was.
I was using an HTTPS URL for the repo. When I switched to URLs like "[email protected]:ripper234/Basic.git", it worked flawlessly.
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