8 Years
Discussion Span
Last Post by rch1231

Ok several options. Just execute a script look into rsh and rlogin which allow you to open a shell on another UNIX/Linux/Solaris/irix/hpux system.

If you have httpd (and php for php scripts) running on the remote server you could set up a web page with the cgi script (or php if installed) and show the results on in a browser.

If you need the script run regularly and the output available to review then on the remote server set up a script with cron (crontab) to generate your output and then pull it to your local server to evaluate with ftp or wget.


Example of rsh use, the following executes the command mkdir testdir as user remoteuser on the computer host.example.com:

rsh -l remoteuser host.example.com "mkdir testdir"


rsh executes the any command or script on the remote server provided the user you are connecting with has permission to execute the script in question. And the answer to your question is Yes.


It would help to know what your command line was when you got the error...

Can you ing the host at the address you are using?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.