title: Generating SSH-Keys for Git on Windows 7
body: <p>I'm experiencing a strange error while attempting to generate SSH keys via the Git Bash command line tool as downloaded from (<a href="http://code.google.com/p/msysgit/downloads/list" rel="nofollow">http://code.google.com/p/msysgit/downloads/list</a>). I'm using Windows 7 Enterprise and have full administrative privileges. When I run the following command from the Git Bash command line:</p>
  
  <pre><code> ssh-keygen -t rsa -C "your_email@youremail.com"
  </code></pre>
  
  <p>(using my email address in place of your_email@youremail.com) I get a Windows error dialog box that pops up with the title </p>
  
  <blockquote>
    <p>ssh-keygen.exe - Application Error<br>
    The application was unable to start correctly (0xc0000142). Click OK to close the application.</p>
  </blockquote>
  
  <p>Any ideas what may be causing this error?</p>
  
  <p>Things I have tried to fix the problem (without success):</p>
  
  <ul>
  <li>Installing an earlier version of Git for Windows (I've tried 1.7.7, 1.7.6, 1.7.4 and 1.7.3).</li>
  <li>Running Git in compatibility mode.</li>
  <li>Searched the net for others experiencing the same error in relation to Git on Windows.</li>
  </ul>
  
  <p>What might be causing this problem?</p>
  
  <p>UPDATE: Despite not actually determining what was causing this error, I got around it by simply using Putty to log into a friends Linux box and generating the SSH keys from there. Thanks for everyone's help.</p>