sshj.
SSHv2 library for Java.
Here is the list of declaration for sshj. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>net.schmizz</groupId> <artifactId>sshj</artifactId> <version>0.5.0</version> </dependency>
If you think this Maven repository POM file listing for sshj is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:Apache 2
URL: http://www.apache.org/licenses/LICENSE-2.0.txt.
The sshj-0.5.0 has 7 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Log | slf4j-api 1.6.1 The slf4j API | 621 |
Security | bcprov-jdk16 1.46 The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.6. | 22 |
JUnit | junit 4.8.2 JUnit is a regression testing framework. It is used by the developer who implements unit tests in Java. | 919 |
Zip | jzlib 1.0.7 JZlib is a re-implementation of zlib in pure Java | 26 |
Log | logback-core 0.9.29 Logback: the generic, reliable, fast and flexible logging library for Java. | 15 |
Log | logback-classic 0.9.29 Logback: the reliable, generic, fast and flexible logging library for Java. | 51 |
The following plugins are used in the sshj-0.5.0.jar
The following packages are defined in the sshj-0.5.0.jar
net.schmizz.concurrent net.schmizz.sshj net.schmizz.sshj.common net.schmizz.sshj.connection net.schmizz.sshj.connection.channel net.schmizz.sshj.connection.channel.direct net.schmizz.sshj.connection.channel.forwarded net.schmizz.sshj.sftp net.schmizz.sshj.signature net.schmizz.sshj.transport net.schmizz.sshj.transport.cipher net.schmizz.sshj.transport.compression net.schmizz.sshj.transport.digest net.schmizz.sshj.transport.kex net.schmizz.sshj.transport.mac net.schmizz.sshj.transport.random net.schmizz.sshj.transport.verification net.schmizz.sshj.userauth net.schmizz.sshj.userauth.keyprovider net.schmizz.sshj.userauth.method net.schmizz.sshj.userauth.password net.schmizz.sshj.xfer net.schmizz.sshj.xfer.scp
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>net.schmizz</groupId> <artifactId>sshj</artifactId> <packaging>bundle</packaging> <version>0.5.0</version> <name>sshj</name> <description>SSHv2 library for Java</description> <url>http://github.com/shikhar/sshj</url> <inceptionYear>2009</inceptionYear> <issueManagement> <system>github</system> <url>http://github.com/shikhar/sshj/issues</url> </issueManagement> <scm> <connection>scm:git:git://github.com/shikhar/sshj.git</connection> <developerConnection>scm:git:git@github.com:shikhar/sshj.git</developerConnection> <url>http://github.com/shikhar/sshj</url> </scm> <licenses> <license> <name>Apache 2</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <dependencies> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.6.1</version> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk16</artifactId> <version>1.46</version> <scope>provided</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.8.2</version> <scope>test</scope> </dependency> <dependency> <groupId>com.jcraft</groupId> <artifactId>jzlib</artifactId> <version>1.0.7</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.sshd</groupId> <artifactId>sshd-core</artifactId> <version>0.5.0</version> <scope>test</scope> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-core</artifactId> <version>0.9.29</version> <scope>test</scope> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>0.9.29</version> <scope>test</scope> </dependency> </dependencies> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <excludes> <exclude>examples/*.java</exclude> </excludes> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.1</version> <configuration> <mavenExecutorId>forked-path</mavenExecutorId> </configuration> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.2.1</version> <configuration> <descriptors> <descriptor>src/assemble/examples.xml</descriptor> </descriptors> </configuration> <executions> <execution> <id>make-assembly</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.1.2</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.8</version> <configuration> <encoding>${project.build.sourceEncoding}</encoding> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <configuration> <instructions> <Import-Package> !net.schmizz.*, javax.crypto*, com.jcraft.jzlib*;version="[1.0,2)", org.slf4j*;version="[1.6,2)", org.bouncycastle*;version="[1.4,2)", * </Import-Package> <Export-Package>net.schmizz.*</Export-Package> </instructions> </configuration> </plugin> </plugins> </build> <distributionManagement> <repository> <id>sonatype-nexus-staging</id> <name>Nexus Release Repository</name> <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> <snapshotRepository> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus Snapshots</name> <url>http://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement> <profiles> <profile> <id>full-deps</id> <dependencies> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk16</artifactId> <version>1.45</version> </dependency> <dependency> <groupId>com.jcraft</groupId> <artifactId>jzlib</artifactId> <version>1.0.7</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-core</artifactId> <version>0.9.24</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>0.9.24</version> </dependency> </dependencies> </profile> <profile> <id>release-sign-artifacts</id> <activation> <property> <name>performRelease</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.3</version> <configuration> <passphrase>${gpg.passphrase}</passphrase> </configuration> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>