title: git push heroku master permission denied on VISTA
body: <p>(Using Vista)I'm trying to clone an app from my GitHub Repository and push it into Heroku. Okay, so I've tried to create an SSH key so many times with this:</p>
  
  <pre><code> `ssh-keygen -t rsa` 
  </code></pre>
  
  <p>It seems to go perfectly. I have it on my C:/Users/***/.ssh folder. I now try to clone an app i forked in GitHub. When I try to clone it on the rails_apps directory, I get a message saying</p>
  
  <pre><code> Permission Denied(public key). 
  </code></pre>
  
  <p>I found a solution on the net saying that I should run this first:</p>
  
  <pre><code>`ssh-add` 
  </code></pre>
  
  <p>So I tried doing that. But it said that:</p>
  
  <p>Could not open a connection to your authentication agent.</p>
  
  <p>Then after some googling I find something about executing the ssh-agent. So I do this:</p>
  
  <pre><code>`ssh-agent bash`
  </code></pre>
  
  <p>and the command line changes from my rails_apps directory to this:</p>
  
  <pre><code>`bash3.1$&gt;`
  </code></pre>
  
  <p>So I run:</p>
  
  <pre><code>`bash3.1$&gt;ssh-add [path to .ssh folder]`
  </code></pre>
  
  <p>and it successfully adds the rsa private key(it doesn't work with id-rsa.pub). I have also pasted the newly generated public key to my GitHub account. </p>
  
  <p>Now when I try to clone:</p>
  
  <pre><code>`bash3.1$&gt;git clone git@github.com:username/myrepo.git`
  </code></pre>
  
  <p>It now successfully clones the repo I forked in GitHub. Now that I have the app in my local repo, I try to create a heroku app.</p>
  
  <pre><code>`bash3.1$&gt;cd myrepo`  
  `bash3.1$&gt;heroku create myapp`
  </code></pre>
  
  <p>And this code runs successfully. Git remote added successfully. Now all I have to do is to push it.</p>
  
  <pre><code>`bash3.1$&gt;git push heroku master`
  </code></pre>
  
  <p>BAM! I get the error message again. </p>
  
  <p><code>Permission denied (public key)</code></p>
  
  <p>I am so close into pushing my app to heroku. But it just won't work. Can you help me. What am I doing wrong here? Thanks! :D</p>