An open API service indexing awesome lists of open source software.

https://github.com/bytes-chaser/eazy-ssh-jsch

Eazy SSH implementation over JSch
https://github.com/bytes-chaser/eazy-ssh-jsch

java jsch ssh ssh-client

Last synced: about 2 months ago
JSON representation

Eazy SSH implementation over JSch

Awesome Lists containing this project

README

        

# eazy-ssh-jsch
Eazy SSH implementation over JSch

## Adding dependency
### Maven
```xml

io.github.bytes-chaser
eazy-ssh-jsch
1.0.0

```
### Gradle
```gradle
// https://mvnrepository.com/artifact/io.github.bytes-chaser/eazy-ssh-jsch
implementation 'io.github.bytes-chaser:eazy-ssh-jsch:1.0.0'
```
### Usage
Use the [core project "usage" section](https://github.com/bytes-chaser/eazy-ssh-core/blob/main/README.md#usage) for full usage reference.
The only step that may vary is [setting the context SSH implementation](https://github.com/bytes-chaser/eazy-ssh-core/blob/main/README.md#set-it-up).
These library intended to Use *JSch* SSH implementation
```java
// 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)
```

## Credits
Special thanks to [JCraft](http://www.jcraft.com/contact.html ), that started JSch project
and [Matthias Wiedemann](https://github.com/mwiede) for creating [fork for JSch](https://github.com/mwiede/jsch) and continuous support.