public class PropertyBasedSshSessionFactory
extends org.eclipse.jgit.transport.JschConfigSessionFactory
| Constructor and Description |
|---|
PropertyBasedSshSessionFactory(Map<String,JGitEnvironmentProperties> 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.ProxyHTTP |
createProxy(ProxyHostProperties proxyHostProperties) |
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) |
configureJSch, createDefaultJSch, getJSch, getSessionpublic PropertyBasedSshSessionFactory(Map<String,JGitEnvironmentProperties> sshKeysByHostname, com.jcraft.jsch.JSch jSch)
protected void configure(org.eclipse.jgit.transport.OpenSshConfig.Host hc,
com.jcraft.jsch.Session session)
configure in class org.eclipse.jgit.transport.JschConfigSessionFactoryprotected com.jcraft.jsch.ProxyHTTP createProxy(ProxyHostProperties proxyHostProperties)
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.JschConfigSessionFactorycom.jcraft.jsch.JSchExceptionCopyright © 2021 Pivotal Software, Inc.. All rights reserved.