The problem of connecting to GitHub on Windows, even through PuTTY

I know that I have already discussed this problem in different places (in and out), but I have not found a solution that works sequentially. Right now, I'm trying to connect to github via putty.

I connect to github.com, upload my private key and get

login as:

tell me. When I press enter, I get the error message "Disconnected: No supported authentication methods available". I am passing the correct secret key! (I tested this key from another computer and it works). I tried with and without a contest (and made sure the key was uploaded there). How do you recommend proceeding?

Change The problems I experience when clicking on github seem to show up in one of my repositories, but not in the other. How can I check or fix a damaged repository? (It is not damaged in any other way, I just can’t press anything from it). Both use the same key.

+5
git windows github putty ssh
Jan 05 2018-11-11T00:
source share
3 answers

Well, actually I am not answering my original question (connecting to PuTTY), but I found out what the problem is with the repository.

I used the https repo url. When I switched to URLs like "git @ github.com: ripper234 / Basic.git", it worked flawlessly.

+1
Jan 06 '11 at 7:21
source share

This was the answer for me:

http://false.ekta.is/2010/05/putty-pageant-git-and-github-key-problems/

  • You want to use plink for ssh when you install msysgit.
  • The Puttys public key you saved is not in the correct format for pasting into github.
  • run puttygen again, but select DOWNLOAD EXISTING KEY.
  • copy and paste from there to github.

Don't try things like opening a saved public key, deleting comment lines and adding ssh-rsa to the front or the like. This will not work.

+11
Feb 17 '11 at 19:05
source share

If you are running Windows, skip all ssh keys.

Use the github plugin located at windows.github.com

Install the plugin ("download" at the top right) When it is installed, you just need to log in. Then, when you need to clone, just click the "clone to windows" button found on github web pages.

0
Oct 22 '12 at 18:24
source share



All Articles