title: GitHub: ssh -T git@github.com -> Permission denied (publickey). [Windows 7]
body: <p>I have a problem and didn't find anything on stackoverflow or google.
  When i run ssh -T git@github.com I get the error Permission denied (publickey).</p>
  
  <p>The helps in the Git Help guide doesn't help.
  Can someone help me?</p>
  
  <p>OK i got the solution, maybe someone needs it so here we go:</p>
  
  <p>Ok, i got it finally.</p>
  
  <p>First of all it is to say I am running here the Windows 7 OS in German 64bit! I don't know if this is important.</p>
  
  <p>Well, in this guide: <a href="http://help.github.com/win-set-up-git/" rel="nofollow">http://help.github.com/win-set-up-git/</a> they say, that the files where create in C:/Users/[PC-Name]/.ssh/</p>
  
  <p>So in this folder there shall be the files id_rsa and id_rsa.pub. When i looked them up, i wasn't able to find even the folder. So where are the necessary files?</p>
  
  <p>I run the search and i find them in: C:\Users[yourpcname]\AppData\Local\VirtualStore\Windows\SysWOW64</p>
  
  <p>I don't know why or how they get there. I never typed in this path.
  Ok, so now just copy the files and create the .ssh folder in C:/Users/[PC-Name]/ move to the directory .ssh and paste the two files id_rsa and id_rsa.pub.</p>
  
  <p>Then don't run ssh -T git@github.com
  but:</p>
  
  <pre><code>ssh -T git@github.com -i &lt;path-to-id_rsa&gt;
  </code></pre>
  
  <p>and rly take care that you use  C:/.../.../ <strong>and NOT</strong> C:\...\...\..</p>
  
  <p>This solved my problem. Maybe you have the same problem.</p>