Registry / networking / org-eclipse-jgit-ssh-jsch

org-eclipse-jgit-ssh-jsch

JSON →
library7.6.0.202603022253-rjavamavenunverified

Provides SSH transport support for JGit using the JSch library.

<dependency> <groupId>org.eclipse.jgit</groupId> <artifactId>org.eclipse.jgit.ssh.jsch</artifactId> <version>7.6.0.202603022253-r</version> </dependency>
INSTALL
IMPORT
SIG · ORG-ECLIPSE-JGIT-S
O
org-eclipse-jgit-ssh-jsch
networkingjavav7.6.0.202603022253-r
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JschConfigSessionFactory
✓ org.eclipse.jgit.transport.JschConfigSessionFactory

Create a custom JSchConfigSessionFactory for SSH connections.

import org.eclipse.jgit.transport.JschConfigSessionFactory; import org.eclipse.jgit.transport.OpenSshConfig; import com.jcraft.jsch.Session; public class Example { public static void main(String[] args) { JschConfigSessionFactory factory = new JschConfigSessionFactory() { @Override protected void configure(OpenSshConfig.Host hc, Session session) { // custom configuration } }; System.out.println("SSH session factory created"); } }
Debug
Known issues
gotchaJSch is not maintained actively; consider using Apache MINA sshd or JGit's built-in SSH support.
fix
Switch to org.eclipse.jgit.ssh.apache or org.eclipse.jgit.ssh.apache.agent for better maintenance.
affects: all
Upgrade
Version history
7.6.0.202603022253-rlatest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
org-eclipse-jgit-ssh-jsch — mvn dependency:get org-eclipse-jgit-ssh-jsch · libregistry