public class PropertyBasedSshSessionFactory
extends org.eclipse.jgit.transport.JschConfigSessionFactory
Constructor and Description |
---|
PropertyBasedSshSessionFactory(Map<String,SshUri> sshKeysByHostname,
com.jcraft.jsch.JSch jSch) |
Modifier and Type | Method and Description |
---|---|
protected void |
configure(org.eclipse.jgit.transport.OpenSshConfig.Host hc,
com.jcraft.jsch.Session session) |
protected com.jcraft.jsch.Session |
createSession(org.eclipse.jgit.transport.OpenSshConfig.Host hc,
String user,
String host,
int port,
org.eclipse.jgit.util.FS fs) |
createDefaultJSch, getJSch, getSession
protected void configure(org.eclipse.jgit.transport.OpenSshConfig.Host hc, com.jcraft.jsch.Session session)
configure
in class org.eclipse.jgit.transport.JschConfigSessionFactory
protected com.jcraft.jsch.Session createSession(org.eclipse.jgit.transport.OpenSshConfig.Host hc, String user, String host, int port, org.eclipse.jgit.util.FS fs) throws com.jcraft.jsch.JSchException
createSession
in class org.eclipse.jgit.transport.JschConfigSessionFactory
com.jcraft.jsch.JSchException
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.