On 25/10/2013 01:48 PM, Alex Blewitt
wrote:
On 25/10/2013 03:09 AM, Matthias
Sohn wrote:
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 ?
Alternatively set GIT_SSH to point to a native ssh executable
which will have private key support.
Yes, I have already done an export in .bashrc
You should also check the permissions of the ~/.ssh/ folder
to vet if that group and other are set to no permissions,
without which it will refuse to work.
.ssh folder is having
drwx------ 2 ar group1
the contents of .ssh/
-rw-r--r-- 1 ar group1 17 2013-05-02 17:18 config
-rw------- 1 ar group1 1766 2013-10-24 18:15 id_rsa
-rw-r--r-- 1 ar group1 414 2013-05-02 09:30 id_rsa.pub
-rw-r--r-- 1 ar group1 4824 2013-10-24 16:29 known_hosts
Here group and others are set to no permissions for .ssh/ and
id_rsa.
Thanks.
|