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:

  • is `hg forget` the same as `git rm --cached`?
  • Does git clean support moving to Recycle Bin?
  • Error rebaseing/updating a git-svn repository
  • Git: inverse ignoring (.gitignore)
  • Ignore git directory
  • How can you git pull only the current branch?
  • 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.

  • How can I view the output of `git show` in a diff viewer like meld, kdiff3, etc
  • .gitignore for everything inside the xcuserdata folder does not ignore an xcuserstate file
  • “Cannot update paths and switch to branch at the same time”
  • A clean system for github pages with local plugins
  • git: best way to resolve merge conflicts in notes branch of git
  • What do line colors in git log --graph mean?
  • 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.