title: Error in setting up .SSH keys with Windows PowerShell
body: <p>I've got the GIT BASH shell working correctly with SSH keys, so I know my basic configuration steps are correct, but I prefer the windows powershell (actually I prefer the Mac or Linux terminal, but out of the available options...) </p>
  
  <p>Anyways.</p>
  
  <p>My windows powershell is set up with the PS1 script fount in this blog post
  <a href="http://markembling.info/2009/09/ssh-agent-in-powershell" rel="nofollow noreferrer">http://markembling.info/2009/09/ssh-agent-in-powershell</a> and from what I can tell, the start up is running correctly </p>
  
  <pre><code>Starting SSH agent...
  SSH agent PID: 5064
  </code></pre>
  
  <p>But when I try to SSH in or run git commands from powershell, I'm still prompted for a password.  Has anyone seen this before?  I prefer PS to Git Bash but will stick with it in the worst case.</p>
  
  <p><strong>EDIT</strong> - Answer provided by VonC = Add %HOME% to windows system environment variables</p>
  
  <pre><code>To view or change environment variables:
  
  Right-click My Computer, and then click Properties.
  Click the Advanced tab.
  Click Environment variables.
  Click one the following options, under user variables:
      Click New 
           variable name `HOME` (No quotes, or percentage signs) 
           value: C:\Documents and Settings\**your username**
              or: C:\Users\**your username** 
  </code></pre>
  
  <p>Restart powershell (or whatever shell you love) and your SSH works by default.</p>