![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to execute script from my desktop windows xp to my HPUX server? | kenshinhimura | HP-UX | 2 | 03-05-2008 02:47 PM |
| Execute script on Unix/Linux from Windows | brbillyh | UNIX for Dummies Questions & Answers | 4 | 07-10-2005 08:50 PM |
| Execute Shell Script | sam71 | UNIX for Dummies Questions & Answers | 1 | 04-29-2005 10:43 AM |
| Is it possible to execute shell script with PHP? | Micz | Shell Programming and Scripting | 1 | 05-27-2004 08:52 AM |
| How to execute shell Script? | siva | Shell Programming and Scripting | 3 | 05-14-2002 08:07 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
> I tried REXEC and that is not what I want. Need help.
What was wrong with rexec? What exactly are you trying to achieve? |
|
#4
|
||||
|
||||
|
Re: How to execute a shell script from Windows
Quote:
If you want to 'get fancy' you could use enhance the above with cryptographic techniques. Neo |
|
#5
|
||||
|
||||
|
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 |
||||
| Google The UNIX and Linux Forums |