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 b
IF YOU HAVE PEM FILE: In Eclipse go to Window > Preferences > Network Connections > SSH2, and then add path to your PEM file to "Private keys" and that should solve the problem.
For *nix users who are using SSH:
Make sure the username for your account on your local machine does not differ from the username for the account on the server. Apparently, eGit does not seem to be able to handle this. For example, if your username on your local machine is 'john', and the account you are using on the server is named 'git', egit simply fails to connect (for me anyways). The only work around I have found is to make sure you have identical usernames in both the local machine and the server.
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)
I solved same problem with adding my key to ssh;
ssh-add ~/.ssh/id_rsa
then entered the passphrase and need restart.
I was having the same issue which it seems was down to config issue. The github mac osx app had created a ssh private key called github_rsa
In your Eclipse go to Window > Preferences > Network Connections > SSH2
In the general tab you should see SSH2 home /Users/<you username>/.ssh
you'll probably see id_dsa,id_rsa defined as private keys.
Click 'Add private key' and select github_rsa located /Users/<you username>/.ssh
I resolved it by selecting http
as the protocol and giving my GitHub username and password.