How to execute a shell script from Windows

I like to start a korn job remotely, from windows. I tried REXEC and that is not what I want. Need help !!!! thanks

REXEC is probably the best choice despite its security issues. If it's not want you want, what do you want?

You might be able to script a telnet session, but it would be hard.

> I tried REXEC and that is not what I want. Need help.

What was wrong with rexec? What exactly are you
trying to achieve?

You could try emailing a 'code word' to a .forward pipe that executes the script you want based on parsing a keyword (secret code word) from the email.

If you want to 'get fancy' you could use enhance the above with cryptographic techniques.

Neo

Most things that I've coded in this fashion utilize socket communication and crypto calls in C. If you're looking for a quick script answer, you can use Expect on Windows (http://bmrc.berkeley.edu/people/chaffee/expectnt.html\) coupled with ssh. Ssh can issue commands as part of the login such as:

ssh user@host <command>

You could utilize ssh keys to avoid having to use expect to feed passwords.

Cheers,

Keith