Eazy SSH implementation over JSch
<!-- https://mvnrepository.com/artifact/io.github.bytes-chaser/eazy-ssh-jsch -->
<dependency>
<groupId>io.github.bytes-chaser</groupId>
<artifactId>eazy-ssh-jsch</artifactId>
<version>1.0.0</version>
</dependency>
// https://mvnrepository.com/artifact/io.github.bytes-chaser/eazy-ssh-jsch
implementation 'io.github.bytes-chaser:eazy-ssh-jsch:1.0.0'
Use the core project "usage" section for full usage reference. The only step that may vary is setting the context SSH implementation. These library intended to Use JSch SSH implementation
// New context with defaults
ESSHContext context = new ESSHContextImpl();
context.setHost(host);
context.setUser(user);
context.setPass(pass);
// registers client and parser in the context
ESSHContext context = context
.register(SimpleClient.class)
.parser(MemoryInfo.class, new MemoryInfoParser())
.create(Jsch::new)
Special thanks to JCraft, that started JSch project and Matthias Wiedemann for creating fork for JSch and continuous support.