Problem with Ganymed API

305 Views Asked by At

I am writing SSH Client code using Ganymed API's. When I am trying to execute a command remotely through my code it showing nothing and Program execution is not stopping. My putty giving correct output for same command. When I am issuing some basic commands it working fine. I am doing this in windows environment.

I also tried using JSCH API's. But it also giving me same behavior.

Can any one tell me what is wrong and any suggestions please.

Thanks,
Narendra

1

There are 1 best solutions below

0
On

set channel.connect() and session.disconnect in case of JSCH API's