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 [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 24, 2008 10:14 AM
To: user@ant.apache.org
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to