Hi I have a java class which has to run a shell script on a different m/c. 1. Appliaction is m/c A wheer my java code is 2. Shell Script is on m/c B Is it possible to invoke the script. bartenders please reply on this . This is of very high priority to my application.
Make sure include your real username, machine name, and scriptname. Also make sure ssh is installed on machineb. Also you need to make sure that ssh-agent is started to enable the ssh program to connect without prompting you for a password. rsh can also be used, but is not as secure, although if both machines are behind a firewall, then rsh might be easier.