I had Eclipse with Egit running great under mac 10.5.8. I installed 10.7.2 last week I attempted to reconnect to my github this morning but its failing while setting up the repo with "Auth Fail'. if it ssh -T git@github.com in terminal & use my passphrase it authenticates without any problems but it will constantly reject my passphrase in Eclipse.
I wanted to comment back. I copied my id-rsa files from my pc, the one that works, to my mac on 10.7.2 and it works perfect. I'm assuming its a bug with github generating keys on 10.7.2 Beware updating unless you backup your keys first! This can be closed.
I haven't had any issues connecting to github via egit (or command-line Git) using a key-pair generated in OSX 10.7.2. This particular key has an empty passphrase but in principle that shouldn't make any difference.
Yah I did it again on another 10.7.2 machine today using a different passphrase bu this time using eclipse to generate the key, but still rejects passphrase. Strange!
Hmm. I think I generated the key-pair on the command line with ssh-keygen, then uploaded the public key to github, then adjusted my ~/.ssh/config to use the private key for github.com. Basically all the steps I would do for any other new ssh destination. The .ssh/config entry looks like this:
Host github.com
User <your-github-name-here>
IdentityFile ~/.ssh/<your-github-private-key-here>