Creating SSH keys for Git on Windows 7

I am having a weird error when trying to generate SSH keys using the Git Bash command line tool as downloaded from ( http://code.google.com/p/msysgit/downloads/list ). I am using Windows 7 Enterprise and have full administrative privileges. When I run the following command from the Git Bash command prompt:

ssh-keygen -t rsa -C " your_email@youremail.com " 

(using my email address instead of your_email@youremail.com ) I get a Windows error dialog box that appears with the title

ssh-keygen.exe - Application Error
The application could not start correctly (0xc0000142). Click "OK" to close the application.

Any ideas that might cause this error?

Things I tried to solve the problem (without success):

  • Installing an earlier version of Git for Windows (I tried 1.7.7, 1.7.6, 1.7.4 and 1.7.3).
  • Running Git in compatibility mode.
  • I searched the net for others who are experiencing the same error regarding Git on Windows.

What can cause this problem?

UPDATE: Although I didn’t really determine what caused this error, I circumvented it by simply using Putty to log in to Linux for Linux and create SSH keys. Thanks for helping everyone.

+4
source share
1 answer

This discussion of developers could make a difference. Perhaps you can try an earlier version, since even 1.7.6 was released after these changes were added. Version 1.7.4 will be earlier.

If this version works, you should report an error on the msysGit mailing list . And if you don't find any help here, ask for a good idea anyway.

+1
source

All Articles