class DefaultSshSessionFactory extends JschConfigSessionFactory
$HOME/.ssh.
This is the default implementation used by JGit and provides most of the compatibility necessary to match OpenSSH, a popular implementation of SSH used by C Git.
If user interactivity is required by SSH (e.g. to obtain a password), the connection will immediately fail.
| Constructor and Description |
|---|
DefaultSshSessionFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure(OpenSshConfig.Host hc,
com.jcraft.jsch.Session session)
Provide additional configuration for the session based on the host
information.
|
configureJSch, createDefaultJSch, createSession, createSession, getJSch, getSession, setConfiggetInstance, releaseSession, setInstanceprotected void configure(OpenSshConfig.Host hc, com.jcraft.jsch.Session session)
UserInfo.configure in class JschConfigSessionFactoryhc - host configurationsession - session to configure