Simple Java Example

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Simple Java Example

Aali M
Hi All.

I am using SSHJ, Can anyone send me a simple java example using bouncy castle via endpoint ?

An example which can ssh to localhost and print any simple command such as "ls" or "echo" without causing handshake error with OS.

Thank you.

Reply | Threaded
Open this post in threaded view
|

Re: Simple Java Example

Lothar Kimmeringer-4
Hi,

Am 21.03.2018 um 15:58 schrieb Aali M:

> I am using SSHJ, Can anyone send me a simple java example using bouncy castle via endpoint ?

JSch might be the library of your choice. The project seems to be dead but
the library still works.


Cheers, Lothar