Running remote system shell script and c binary file from windows machine using java

Hi,

I have an shell script program in a remote linux machine which will do some specific monitoring functionality. Also, have some C executables in that machine.

From a windows machine, I want to run the shell script program (If possible using java).
I tried with SSH for this. but, in terminalthe c executable process pts shown as ? mark. The C executable doesnot receive any command.
But, if run the C executable in the system directly, it is running properly.

In windows system, java program, I exported DISPLY=:0.0,
but same problem in executing remote problem.
Can you help me on this.

Thanks,
Kumar Raj

easy way,install openssh for windows and create a batch file with ssh.exe with pub/priv key authentication.