Windows PuTTY – git error – No supported authentication methods

I don’t have this problem when I use git locally on my machine, ONLY when logged in via SSH with PuTTY. FYI my server is using freeSSHd.

Assuming my current directory is my git repository’s local directory…

  • Git: moving submodules recursively (nested submodules)
  • How to Bash Script Git Local Branch Check?
  • git - gpg onto mac osx: error: gpg failed to sign the data
  • Best way to maintain multiple related projects in one git repository?
  • Git forced push: how to prevent overriding other user's changes
  • Avoid unwanted merge commits and other commits when doing pull request on GitHub
  • The command git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin issues the following error:

    FATAL ERROR: Disconnected: No supported authentication methods available (server sent: publickey)
    

    Again, this only happens when I’m logged in via PuTTY and not when I’m in the command prompt when I’m physically at the server.

  • When does git pull cause merge between multiple branches?
  • Forcing 'git push' to Flush Out Logging Details
  • Git .git/info/refs not valid: is this a git repository?
  • Squashing a Large Branch with Several Merges with Itself
  • Git diff working incorrect - to many changes
  • GitHub workflow: Should each developer have their own fork?
  • One Solution collect form web for “Windows PuTTY – git error – No supported authentication methods”

    pageant.exe is inaccessible to Administrator logged in via SSH even though it’s accessible to Administrator normally. I had to invoke pageant while inside SSH to get it to work; this results in multiple pageant.exe processes 🙁 In the end I ditched freeSSHd for cygwin and now I have another set of problems.

    Git Baby is a git and github fan, let's start git clone.