Hi,
 
I am trying to execute a command on a remote server using <sshexec> as
below.. I have a SSH server running on the remote server and I am able
to login to it with the below mentioned user name and password (using
SSH Client Putty)
 
<tasks>
<sshexec host="gbi-test" username="Administrator"
password="Gbi123Test123" trust="true" command="..\dev\install.exe -i 
</tasks>
 
Now, when I do the build using maven, I get the following error message:
 
[INFO] Error executing ant tasks
Embedded error: Could not create task or type of type: sshexec.Ant could
not find the task or a class this task relies upon.This is common and
has a number of causes; the usual solutions are to read the manual pages
then download and install needed JAR files, or fix the build file:

I downloaded the JAR file (jsch.jar) into my ant\lib...What other JAR
files are needed? Any ideas?

Thanks!
 
 

Reply via email to