I've installed EGit plugin at Eclipse Helios and I'm trying to use it with my GitHub account, but when I try to configure it I get an "Auth Failed" error.
I'd been googling it but no luck... it seems to be a problem with my passphrase but AFAIK EGit is looking at the right place (/home/user/.ssh/id_rsa
) and I've no problem in connect by ssh
or git
console client.
Some blogs says that is a problem with the URI and the Egit's parser but I still haven't found a solution.
On Windows, setting
GIT_SSH
to openssh that comes with msys git didn't work (Eclipse hung during commit). Setting it to TortoisePlink solved the problem (I guess original plink would work as well). The added bonus is now Eclipse uses keys stored in pageant.For existing ssh keys, I think that it's a bug in Eclipse Juno 3.8.
What I did:
1) Load the existing key by going to: Window > Preferences > "Search ssh" > Key Management Tab > Load Existing Key > Select the private key which you already have
2) Save that key by clicking the button Save Private Key. Let's name it id_dsa_github
3) Now check if push and pull are working or not. It should be.
4) Now in the general tab, remove the private key id_dsa_github and add your previous private key by clicking the button Add private key
Now you are good to go. It's taking at least one time to do all the things from EGit to register, I guess.
I wanted to make public once me too a google code fix and got the same error. Started with This video, but at Save and publish got an error. I have seen there are several question regarding to this. Some are Windows users, those are the most lucky, because usually no problems with permissions and some are Linux users.
I have a mac for mobile development use and very often meet this problems. The source for this problems is the "platform independent" solutions, which doesn't care enough for mac and they don't have access to keychain, where are stored the certificates, .pem files and so on.
All I wanted is to not make any environment settings, nor command line, just simple GUI based clicks, like a regular user.
Half part was done with Eclipse Git plugin, second part (push to Github) was done with Mac Github
Nice and easy :)
All can be done with with that native appp if I would start to learn it, I just need the push functionality from him.
Hoping it will help a mac user once.
I updated the plugin with the nightly builds: http://www.eclipse.org/egit/download/
With an update, it worked for me. (Eclipse Helios, Mac OS X)
In your GIT view where you have your repositories you will see a structure such as:
Click on remotes, right-click on the url of the repository there and select 'Change Credentials'.
I run into the same issue.
I thought it's something to do with my credentials and authentication.
Then finally I realised it's the URI I configured is not HTTP variant.
I was trying to push to SSH URI of my Git with HTTP configuration.
Check your URL in
Git Perspective > Remotes > Origin > Configure Fetch > Change > Make sure the prtocal is HTTPS and the URL is https version.