And just to add another option:  you could "pull" it...  run a cron job
(script/program/etc) on the linux box that pings some flag/script/etc on
your windows CF box on a regular basis.  This has it's own drawbacks
[functional, timeliness, and resource], but potentially from a security
perspective it may be better.




-----Original Message-----
From: Cliff Meyers [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 19, 2005 7:50 AM
To: CF-Linux
Subject: Re: Running a shell script

Also if the remote Linux box is running a web application stack (PHP,
Perl, J2EE, etc) you could write code that executes the shell script,
expose it as a web service and then invoke the web service using
ColdFusion.  There are definitely security considerations with that
approach, though.  Doing it via SSH will likely be the most secure.


On 10/19/05, Neculai Macarie <[EMAIL PROTECTED]> wrote:
> Richard Colman wrote:
> > Does anyone know how to execute a shell script on a remote linux 
> > server, from Cold Fusion running on a Windows server?
>
> You can use plink from putty to connect using a private/public key and

> execute the command.
>
> --
> <mack />
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:14:4065
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/14
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:14
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.14
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to