Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Fetch over SSH not working - egit 2.0 rc3

I reviewed it together with Chris Halstrick and merged it to stable-2.0.

 

I think Matthias will merge all changes in stable-2.0 back to master, therefore I have not submitted it to master. If someone happens to use egit from master there is still a workaround to create an ssh key locally. Then the error does not occur, even if no public key is uploaded to the server.

 

From: egit-dev-bounces@xxxxxxxxxxx [mailto:egit-dev-bounces@xxxxxxxxxxx] On Behalf Of Daniel Megert
Sent: Donnerstag, 7. Juni 2012 18:32
To: egit-dev@xxxxxxxxxxx
Subject: Re: [egit-dev] Fetch over SSH not working - egit 2.0 rc3

 

This is a stop ship bug for EGit. I've posted a fix to Gerrit for both, 'master' and 'stable-2.0'. Someone please review and merge.

Dani

From:

John Arthorne <arthorne.eclipse@xxxxxxxxx>

To:

egit-dev@xxxxxxxxxxx,

Date:

07.06.2012 17:16

Subject:

Re: [egit-dev] Fetch over SSH not working - egit 2.0 rc3

 





Looks like this bug:

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

I agree it looks quite severe and seems to be making eGit unusable for some people.

John


On Wed, Jun 6, 2012 at 10:18 AM, Alex <alexl@xxxxxxxxxxxxxx> wrote:
Hello,

Since I upgraded to EGit 2.0 (rc2 and now rc3) I am unable to fetch from Git repositories over SSH. I am getting the exception enclosed below.
As a note, the server's key *is* in know_hosts file. The variable HOME is correctly set up. The strange part is that this server uses password authentication for SSH access, not private key.

Let me know if you need further information.

Thanks,
Alex



org.eclipse.core.runtime.CoreException: ssh://alex@server/opt/git/Cache.git: Cannot find SSH keys.
    at org.eclipse.egit.ui.internal.fetch.FetchOperationUI.execute(FetchOperationUI.java:102)
    at org.eclipse.egit.ui.internal.fetch.FetchOperationUI$1.run(FetchOperationUI.java:117)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.jgit.api.errors.TransportException: ssh://alex@server/opt/git/Cache.git: Cannot find SSH keys.
    at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:137)
    at org.eclipse.egit.core.op.FetchOperation.run(FetchOperation.java:127)
    at org.eclipse.egit.ui.internal.fetch.FetchOperationUI.execute(FetchOperationUI.java:99)
    ... 2 more
Caused by: org.eclipse.jgit.errors.TransportException: ssh://alex@server/opt/git/Cache.git: Cannot find SSH keys.
    at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:142)
    at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:121)
    at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248)
    at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147)
    at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:127)
    at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:113)
    at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1069)
    at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
    ... 4 more
Caused by: com.jcraft.jsch.JSchException: Cannot find SSH keys.
    at org.eclipse.egit.ui.EclipseSshSessionFactory.createSession(EclipseSshSessionFactory.java:47)
    at org.eclipse.jgit.transport.JschConfigSessionFactory.createSession(JschConfigSessionFactory.java:150)
    at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:109)
    ... 11 more


eclipse.buildId=I20120524-2100
java.version=1.6.0_29
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

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


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


Back to the top