Groovy Documentation

org.ajoberstar.gradle.git.auth
[Java] Class JschAgentProxySessionFactory

java.lang.Object
  org.eclipse.jgit.transport.JschConfigSessionFactory
      org.ajoberstar.gradle.git.auth.JschAgentProxySessionFactory

public class JschAgentProxySessionFactory
extends JschConfigSessionFactory

A session factory that supports use of ssh-agent and Pageant SSH authentication.

Since:
0.6.0


Method Summary
protected void configure(Host hc, Session session)

No actions performed by this.

protected JSch getJSch(Host hc, FS fs)

Obtains a JSch used for creating sessions, with the addition of ssh-agent and Pageant agents, if available.

 

Method Detail

configure

protected void configure(Host hc, Session session)
No actions performed by this.


getJSch

de
	protect
protected JSch getJSch(Host hc, FS fs)
Obtains a JSch used for creating sessions, with the addition of ssh-agent and Pageant agents, if available.
Returns:
the JSch instance


 

Groovy Documentation