4

I'm experiencing a strange error while attempting to generate SSH keys via the Git Bash command line tool as downloaded from (http://code.google.com/p/msysgit/downloads/list). I'm using Windows 7 Enterprise and have full administrative privileges. When I run the following command from the Git Bash command line:

 ssh-keygen -t rsa -C "[email protected]"

(using my email address in place of [email protected]) I get a Windows error dialog box that pops up with the title

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

Any ideas what may be causing this error?

Things I have tried to fix the problem (without success):

  • Installing an earlier version of Git for Windows (I've tried 1.7.7, 1.7.6, 1.7.4 and 1.7.3).
  • Running Git in compatibility mode.
  • Searched the net for others experiencing the same error in relation to Git on Windows.

What might be causing this problem?

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.

0

1 Answer 1

1

This developer discussion might be relevant. Maybe you could try an earlier version, as even 1.7.6 was released after those changes were added. Version 1.7.4 would be earlier.

If that version works, you should report a bug on the msysGit mailing list. And if you find no help here, asking there would be a good idea anyway.

Sign up to request clarification or add additional context in comments.

1 Comment

Hi dancek, I tried installing 1.7.4 however the problem persisted. This is very strange as I've never had this problem with Git on any other Windows 7 systems. Thanks for your help though. I will post back here once I find a solution to this problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.