Alex Rivera | Logout

EGit - SSH Fails at Passphrase (when connecting to GitHub)

Asked 2011-06-11T12:49:37.297
23

I am using Eclipse Indigo RC4 with EGit (bundled). I have a project which I have committed to my local repository, and now I want to push from that to a remote repository I have in GitHub.

Pushing / Pulling from the command line tools works fine (I have configured RSA key based SSH authentication).

But when I try to push from EGit (via SSH pointed to GitHub), I get a prompt to enter my pass phrase. But when I enter the correct pass phrase, it prompts again for the same (note: username appears as git because that's the default when using GitHub. I guess that wouldn't be a issue).

Under Eclipse preferences, I have double checked to ensure that it is configured to use the RSA tokens I have generated.

Edit
Report

1 Answer

13

Even simpler is to update the JSch bundle to 0.1.44 from eclipse orbit repository (p2 software site): http://download.eclipse.org/tools/orbit/downloads/drops/R20110523182458/repository/

The underlying problem is actually that JSch < 0.1.44 does not support the newer encryption scheme AES-128:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=326526

answered 2011-08-11T20:20:55.857

Your Answer