Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » JGit(Exception while performing push operation)
JGit [message #802740] Mon, 20 February 2012 11:36
John J D is currently offline John J DFriend
Messages: 1
Registered: January 2012
Junior Member
I did some experiments using JGit. While attempting to (programmatically) push the .war file, the following exception is thrown.

org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of push command
at com.wi.jgit.helper.JGitHelper.pushRepo(
at com.wi.jgit.helper.JGitHelper.main(
Caused by: org.eclipse.jgit.errors.TransportException: ssh:// Auth fail
at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(
at org.eclipse.jgit.transport.SshTransport.getSession(
at org.eclipse.jgit.transport.TransportGitSsh$SshPushConnection.<init>(
at org.eclipse.jgit.transport.TransportGitSsh.openPush(
at org.eclipse.jgit.transport.PushProcess.execute(
at org.eclipse.jgit.transport.Transport.push(
... 2 more
Caused by: com.jcraft.jsch.JSchException: Auth fail
at com.jcraft.jsch.Session.connect(
at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(
... 8 more

Attached is the relevant code. If you could provide some clues, that would be great.
Previous Topic:what does "rejected" mean when pushing to a remote repository?
Next Topic:aborting a merge
Goto Forum:

Current Time: Sun Jun 24 13:26:33 GMT 2018

Powered by FUDForum. Page generated in 0.01341 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top