github: No supported authentication methods available

前端 未结 16 881
挽巷
挽巷 2020-11-29 16:46

i use github and have successfully added and synched files on my laptop in the past.

as of recent i started getting \"PuTTY Fatal Error: Disconnected: No su

16条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-29 17:16

    I experienced this problem because my GIT_SSH was pointing to the TortoiseSVN version of Plink.exe. I changed it to point to the TortoiseGit version, restarted cmd and it worked.

    I can't remember exactly, but the TortoiseSVN version might have been 32-bit version, and the TortoiseGit version was 64-bit (located in Program Files, not Program Files (x86)).

    Double-check your GIT_SSH env var.

    I prefer to use git with normal cmd.exe (in Console2 of course)

提交回复
热议问题