Pushing to heroku gives PuTTY Fatal Error

I am trying to push my local git repository to heroku using the following command (this is on a Windows 7 machine):

git push heroku master

However this brings up a popup showing the following error:

  • Storing the changes made to a branch, merging the branch, then applying the changes to the main branch
  • List all commits in a topic branch
  • Undo git stash pop on dirty working tree
  • Git stuck at deltafying objects
  • Speed up Git Pushing/Pulling
  • How to “git clone” including submodules which are not reachable from client host?
  • PuTTY Fatal Error
    No supported authentication methods available (server sent: publickey)

    I am wondering how PuTTY even comes into play here. Yes, I do have PuTTY installed on the machine, but the git command above should be simply reading my key from ~/.ssh directory where it is stored.

  • SSH into EC2 and can't execute git clone command
  • Can a lightweight tag be converted to an annotated tag?
  • Mercurial convert extension not able to pull from remote Git repository
  • Only fetch a subset of remote git branches or only display a subset of them in gitk
  • how can I merge 1 commit from a branch to another branch
  • Can git push to the current branch of a remote repository?
  • One Solution collect form web for “Pushing to heroku gives PuTTY Fatal Error”

    is it possible you have the environment variable GIT_SSH set?

    n.b.: if you have installed TortoiseGIT, you can answer that question with “yes”.

    So, if you have GIT_SSH set, you can fix your issue in several ways:

    • add your key to plink / pageant
    • set GIT_SSH to use your preffered (Open)SSH

    For a lengthy explanation, read http://guides.beanstalkapp.com/version-control/git-on-windows.html

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