Java 类com.jcraft.jsch.agentproxy.usocket.JNAUSocketFactory 实例源码

项目:cyberduck    文件:OpenSSHAgentAuthenticator.java   
public OpenSSHAgentAuthenticator() {
    try {
        proxy = new AgentProxy(new SSHAgentConnector(new JNAUSocketFactory()));
    }
    catch(AgentProxyException e) {
        log.warn(String.format("Agent proxy %s failed with %s", this, e));
    }
}