How to execute Shell script on remote Unix machine
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anatoly_Dobrovinsky
Posted On:   Thursday, February 3, 2005 08:51 AM

I need to execute shell script on remote Unix machine

and to pass to it command line params. Plus I have to
execute it with specific user ID.

How can I do it with ANT?




Thank you.

Re: How to execute Shell script on remote Unix machine

Posted By:   Anonymous  
Posted On:   Friday, February 4, 2005 08:18 AM

Have you looked at the ant manual?


I googled "ant execute remote" and got http://ant.apache.org/manual/tasksoverview.html


here are some remote tasks:


Remote Tasks [Back to top]
Task Name Description
FTP Implements a basic FTP client that can send, receive,
list, and delete files, and create directories.

Rexec Task to automate a remote rexec session.

Scp Copy files to or from a remote server using SSH.

setproxy Sets Java's web proxy properties, so that tasks and code run in the same
JVM can have through-the-firewall access to remote web sites.

Sshexec Execute a command on a remote server using SSH.

Telnet Task to automate a remote telnet session.
This task uses nested and
tags to indicate strings to wait for and specify text to send.
About | Sitemap | Contact