Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] not accepting passphrase

Hi Aniyan

I would do 3 things:

1) Go to the OSGI console (Ctrl + 3, Console, with the "v"-icon: select "Host OSGI console") and check what version's runnign in your Eclipse:
ss jsch
2) If it's not 0.1.50 that's running for you, I would add Eclipse Orbit (Help->Install new Software->Add http://download.eclipse.org/tools/orbit/downloads/drops/S20131024145017/repository/) and install 0.1.50 from there. Once installed verify again what jsch you're running.
3) if you're still stuck, passphrease is asked again and again, cat your key and write down the very first 2 lines of your key (Proc-Type, DEK-Info, etc.). With this information at hand you'd be able to ask on the jsch mailing-list ( https://lists.sourceforge.net/lists/listinfo/jsch-users) if your key type's is not supported (yet) or you're being hit by  a bug.

I was hit in a similar way when my key-type wasn't supported by the jsch that EGit/JGit was using:
http://stackoverflow.com/questions/6316014/egit-ssh-fails-at-passphrase-when-connecting-to-github/7032313#7032313

Cheers
André

On 10/26/2013 06:42 AM, Aniyan Rajan wrote:
On 25/10/2013 04:06 PM, Aniyan Rajan wrote:
On 25/10/2013 02:06 PM, Aniyan Rajan wrote:
On 25/10/2013 01:48 PM, Alex Blewitt wrote:

On 25 Oct 2013, at 04:54, Aniyan Rajan <aniyan.rajan6@xxxxxxxxx> wrote:

On 25/10/2013 03:09 AM, Matthias Sohn wrote:
On Thu, Oct 24, 2013 at 3:32 PM, Aniyan Rajan <aniyan.rajan6@xxxxxxxxx> wrote:
Hello egit-devs,

I am using Egit-2.1.0, which works with Eclipse-Helios. Everything works fine except one. It doesn't accept the passphrase to unlock the sshkey. I tried using an sshkey with no passphrase too. Still it doesn't work, the same passphrase dialog comes again and again. Could you please let me know why this happens ? The Password Authentication works with egit, but the key-based authentication doesn't work.

did you try with a newer version ? latest release is 3.1 ...


I would like to use the latest version of Egit. But it won't work with the version of Eclipse For PHP, I am using.

I am using:
Eclipse for PHP Developers
Version: Helios Release
Build id: 20100617-1415


So that is the reason I am using Egit-2.1.0. But the SSH-Keys doesn't work in it.

It may be that the jsch library in Helios (which is what JGit uses) is too old and thus cannot use private keys. You could try installing a later version of that in the dropins folder (and keeping the same EGit plugin) to see if that solves the issue.
Alex, the dropins folder in the eclipse is empty here. Can I install jsch here ?

I have downloaded the following jsch-0.1.50.jar and put in in the dropins folder. Then I tried to push a file to the central repository. But still doesn't accept the passphrase. The dialog keeps coming again and again.

http://sourceforge.net/projects/jsch/files/jsch.jar/0.1.50/jsch-0.1.50.jar/download

Could you please reply ? Is there anything I did wrong in this ? Thanks.


_______________________________________________
egit-dev mailing list
egit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/egit-dev


Back to the top