I am currently evaluating opensource tools for ssh and http tunneling in Java. I have come down to two contenders: Ganymed and JSch. Does anyone know the pros and cons of each?
Here's my take on both after using them at length:
The biggest difference, in my view, is that Ganymed provides a more intuitive and encapsulated API that maps directly to high level SSH operations.
//Nicholas
I don't know about Ganymed.
But I have used JSch extensively for remote login and script executions. I used Google Expect4j with JSch for executing scripts on remote machines in expect mode(send/wait). You can get the whole output of executed command or scripts in your code using JSch/Expect4j/Closures.
Thanks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With