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
- Host: GitHub
- URL: https://github.com/bytes-chaser/eazy-ssh-jsch
- Owner: bytes-chaser
- License: apache-2.0
- Created: 2022-07-01T16:40:02.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-04T09:20:04.000Z (almost 3 years ago)
- Last Synced: 2025-02-13T10:17:07.734Z (4 months ago)
- Topics: java, jsch, ssh, ssh-client
- Language: Java
- Homepage:
- Size: 67.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eazy-ssh-jsch
Eazy SSH implementation over JSch## Adding dependency
### Maven
```xmlio.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.