I've got a problem using sshexec to remote execute commands. On the second sshexec task the server output isn't printed to ant stdout. If I call the sshexec tasks separated (one commented out), it works. I'm calling wsadmin of Websphere to remote deploy an ear. With jsch 1.16 it works ok, but with jsch 1.24 (specific: after Version 1.18) it is broken. The output of the 2nd sshexec task isn'T printed. I need 1.24 because maven ant tasks (ssh wagon) needs a newer version of jsch. Help? Anyone?
This issue is a duplicate of Bug 36302 (http://issues.apache.org/bugzilla/show_bug.cgi?id=36302). The issue has been resolved and is checked into CVS HEAD. You could upgrade Ant to a nightly build or patch 1.6.5 with the patch attached to the bug mentioned above. If you have issues, please consult the ant-user email list. *** This bug has been marked as a duplicate of 36302 ***