ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <>
Subject RE: SSHExec Target
Date Thu, 24 Jan 2008 20:28:09 GMT
Post the relevant portion of your build.xml and the output.

-Rob A

-----Original Message-----
From: Rishi Gogia [] 
Sent: Thursday, January 24, 2008 11:15 AM
To: Ant Users List
Subject: RE: SSHExec Target

Hi Rob
Basically I have to perform some function of this script on one server
and some on the other
so i have one script on Server X and another on Server Y. and the script
on Server X calls the script on Server Y using ssh.
and the script on Server X again needs to be called from the Ant Script
which is done in an SSHExec target.
the whole script of server X works fine but the call to script on Server
Y doesnt work.
Please help me with it.

> Subject: RE: SSHExec Target> Date: Thu, 24 Jan 2008 11:03:01 -0800>
From:> To:> > So you are using
the sshexec task to connect to a remote server and> execute a script
that connects via ssh to another remote server. That> doesn't really
make sense to do, in my opinion. Why not just use sshexec> to connect to
the directly to the remote server you intend to execute> something on?
Why use a shell script at all?> > -Rob Anderson> > -----Original
Message-----> From: Rishi Gogia [] > Sent:
Thursday, January 24, 2008 10:14 AM> To:> Subject:
SSHExec Target> > Hi> > I am using SSHExec target in my Build.xml which
is calling a shell> script. This shell script internally connects to
another server in the> network through SSH. The shell script is running
fine when executed from> solaris command prompt. but when executed from
the build.xml, it doesn't> call the command to connect through SSH.> >
Please tell me what's going on and how can I correct it.> > Thanks> >
Rishi> > >
To unsubscribe, e-mail:> For additional
commands, e-mail:> 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message