hi, thanks for the example. with the same code i am trying to run a bash program like session.execCommand(“process.ksh sample.txt” + path). is it doable, i also tried with Jcraft but no luck. Could you please let me know how do i run the job.
As far as I can tell, it should work. Given that the command you are trying to execute is valid and executable. Note that I use a shell command, ls, with some parameters. You should be able to do the very same.
i was searching the net on how i can implement a dynamic port forwarding using java ssh api. but i noticed that the features is not available in “Ganymed SSH-2 for Java”
i will be glad if i can get any help prior to this that can help me further my project