When using Git version control with public key authentication (as is required by Github), the valid private key passphrase is not accepted.
Steps to reproduce:
1) Working with git project which has github as the remote (origin) repo.
2) Try to "Push Changes..." to remote repo (Github)
3) While connecting to the remote repo, the "Git Credentials" popup windows is displayed, and is correctly prompting for the passphrase for the relevant private key: "Passphrase for /Users/Me/.ssh/id_rsa".
4) Upon entering the correct passphrase, and clicking "OK", the "Git Credentials" popup is redisplayed and is again prompting for the passphrase.
It will not allow me past the passphrase prompt, even when using the same passphrase that works from the command-line and other Git related programs such as "Tower".
Note: This *may* be a duplicate to Bug ID #330 which describes MonoDevelop requiring password for Git push/fetch; however that seems to be specific to password authentication, while this bug is related to public key authentication.
Bug #330: http://bugzilla.xamarin.com/show_bug.cgi?id=330
Does this bug still exist? If so, would you be able to generate a new ssh key which you can share with me which will trigger the bug? My own SSH key works just fine with current builds of monodevelop, so either the bug is fixed or there is some peculiarity with your key/password.
Some additional information on this which might be useful to you...
I experienced the exact same problem (passphrase was not accepted) on Eclipse using the EGit plugin. Based on the Egit bug report below, I fixed the issue on Eclipse by using a newer version of the SSH library used by EGit (JSch in this case).
Since I'm experiencing the same symptoms on MonoDevelop with the same key, maybe the issue is with the SSH library that MonoDevelop uses not being able to handle the encryption being used in my key?
Thanks for the test key, working on this now
I finally figured out the issue, we had a hardcoded value in the RSA code which meant we were incorrectly signing data. I've fixed the issue and am now getting the patch reviewed and will try to get it backported so it is included in Mono 2.8.8 final.
When is 2.8.8 final expected? I have the same problem. Any workarounds?
Assuming you are hitting this issue, you can simply upgrade to the latest MonoDevelop beta. These have contained the fix for several releases. The latest release can be found at: http://monodevelop.com/Download . Unfortunately there are no workarounds other than this.
Thank you - the latest Beta worked.