Search code examples
ruby-on-railsrubygitherokucygwin

Heroku commands on Cygwin hangs


I am trying to use Heroku commands on Cygwin but they seem to not do anything, but hang.

I installed the Heroku toolbelt for Windows.

Doing the $ heroku version gives me heroku/toolbelt/3.10.5 (i386-mingw32) ruby/1.9.3.

But whenever I try a $ heroku login or $ heroku login it just hangs and does nothing.

I setup a Heroku remote in one of my Github repo folders and tried to heroku push master but it prompts me for my password, and I type it in, but gives me this message:

Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Help! Has anyone successfully used Heroku on Cygwin?


Solution

  • It sounds like heroku is trying to log in with your ssh key, which isn't added to your account. Ensure that you've added your public key to your heroku account (if you log in, go to account, add the ssh public key (~/.ssh/id_rsa.pub)). this might help you out as well.