Operating System - HP-UX
1830211 Members
3101 Online
109999 Solutions
New Discussion

Calling a unix script with asp.net

 
SOLVED
Go to solution
Jason_309
Regular Advisor

Calling a unix script with asp.net

Can someone tell me if there is a way to have an asp page execute a script running on a unix machine and if so point me in the correct direction.

Thank you
Jason
2 REPLIES 2
Heironimus
Honored Contributor
Solution

Re: Calling a unix script with asp.net

The first thing that comes to mind would be to call a command-line ssh client on the Windows machine and set up key-based auth on the UNIX server.
Olivier Masse
Honored Contributor

Re: Calling a unix script with asp.net

I second Heironimus on this one. If I can add a suggestion, on the Windows side we do this using plink which comes with PuTTY. If you're not familiar with SSH keys, the PuTTY manual goes in great detail to explain the subject (see chapter 8).

Whatever you do, don't be tempted to use rsh. It is very easy to setup and it works well, but it's painfully unsecure and if there is ever a security audit in your shop you'll be screwed.

Good luck