jsch-agent-proxy connector to SVNKit fork of Trilead SSH2

a proxy to ssh-agent and Pageant in Java

Лицензия

Лицензия

Категории

Категории

H2 Данные Базы данных
Группа

Группа

com.jcraft
Идентификатор

Идентификатор

jsch.agentproxy.svnkit-trilead-ssh2
Последняя версия

Последняя версия

0.0.9
Дата

Дата

Тип

Тип

jar
Описание

Описание

jsch-agent-proxy connector to SVNKit fork of Trilead SSH2
a proxy to ssh-agent and Pageant in Java
Организация-разработчик

Организация-разработчик

JCraft,Inc.

Скачать jsch.agentproxy.svnkit-trilead-ssh2

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.jcraft/jsch.agentproxy.svnkit-trilead-ssh2/ -->
<dependency>
    <groupId>com.jcraft</groupId>
    <artifactId>jsch.agentproxy.svnkit-trilead-ssh2</artifactId>
    <version>0.0.9</version>
</dependency>
// https://jarcasting.com/artifacts/com.jcraft/jsch.agentproxy.svnkit-trilead-ssh2/
implementation 'com.jcraft:jsch.agentproxy.svnkit-trilead-ssh2:0.0.9'
// https://jarcasting.com/artifacts/com.jcraft/jsch.agentproxy.svnkit-trilead-ssh2/
implementation ("com.jcraft:jsch.agentproxy.svnkit-trilead-ssh2:0.0.9")
'com.jcraft:jsch.agentproxy.svnkit-trilead-ssh2:jar:0.0.9'
<dependency org="com.jcraft" name="jsch.agentproxy.svnkit-trilead-ssh2" rev="0.0.9">
  <artifact name="jsch.agentproxy.svnkit-trilead-ssh2" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.jcraft', module='jsch.agentproxy.svnkit-trilead-ssh2', version='0.0.9')
)
libraryDependencies += "com.jcraft" % "jsch.agentproxy.svnkit-trilead-ssh2" % "0.0.9"
[com.jcraft/jsch.agentproxy.svnkit-trilead-ssh2 "0.0.9"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
com.trilead : trilead-ssh2 jar 1.0.0-build217
com.jcraft : jsch.agentproxy.core jar 0.0.9

Модули Проекта

Данный проект не имеет модулей.

jsch-agent-proxy

a proxy to ssh-agent and Pageant in Java.

Description

jsch-agent-proxy is a proxy program to OpenSSH's ssh-agent and Pageant included Putty. It will be easily integrated into JSch, and users will be allowed to use those programs in authentications. This software has been developed for JSch, but it will be easily applicable to other ssh2 implementations in Java. This software is licensed under BSD style license.

Build from Source

$ git clone git://github.com/ymnk/jsch-agent-proxy.git
$ cd jsch-agent-proxy
$ mvn package
$ mvn install

Examples

  • UsingPageant.java
    This sample demonstrates how to get accesses to Pageant.

      $ cd examples
      $ cd compile
      $ mvn exec:java \
        -Dexec.mainClass="com.jcraft.jsch.agentproxy.examples.UsingPageant"
    
  • UsingSSHAgent.java
    This sample demonstrates how to get accesses to ssh-agent.

      $ cd examples
      $ mvn compile
      $ mvn exec:java \
        -Dexec.mainClass="com.jcraft.jsch.agentproxy.examples.UsingSSHAgent"
    
  • JSchWithAgentProxy.java
    This sample demonstrates how to integrate jsch-agent-proxy into JSch.

      $ cd examples
      $ mvn compile
      $ mvn exec:java \
        -Dexec.mainClass="com.jcraft.jsch.agentproxy.examples.JSchWithAgentProxy" \
        -Dexec.args="foo@bar.com"
    
  • SshjWithAgentProxy.java
    This sample demonstrates how to integrate jsch-agent-proxy into sshj.

      $ cd examples
      $ mvn compile
      $ mvn exec:java \
        -Dexec.mainClass="com.jcraft.jsch.agentproxy.examples.SshjWithAgentProxy" \
        -Dexec.args="foo@bar.com"
    
  • TrileadWithAgentProxy.java
    This sample demonstrates how to integrate jsch-agent-proxy into Trilead SSH2 (SVNKit fork).

      $ cd examples
      $ mvn compile
      $ mvn exec:java \
        -Dexec.mainClass="com.jcraft.jsch.agentproxy.examples.TrileadWithAgentProxy" \
        -Dexec.args="foo@bar.com date"
    

Dependencies

To work as a proxy to ssh-agent and Pageant, the current implementation depends on the following software,

As for connections to ssh-agent, unix domain sockets must be handled, and the current implementation has been using JNA or junixsocket for that purpose. Refer to following classes,

NCUSocketFactory expects the external command nc(OpenBSD's netcat), but you don't have to install other third party software.

As for connections to Pageant, win32 APIs must be handled, and JNA has been used in the current implementation for that purpose. Refer to the following class,

If you want to be free from JNA and junixsocket, implement following interfaces without them,

Версии библиотеки

Версия
0.0.9
0.0.8
0.0.7
0.0.6