DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36207>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36207 Summary: multiple sshexec invocations to same host fails Product: Ant Version: 1.6.5 Platform: All OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Optional Tasks AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Given the following build file... <?xml version="1.0"?> <project name="sshexec"> <property file="build.properties" /> <!-- ==================================================== --> <target name="linux"> <sshexec host="${linux.server}" trust="true" timeout="${10sec}" username="${username}" password="${password}" command="echo Hello from ${linux.server}" /> </target> <!-- ==================================================== --> <target name="solaris"> <sshexec host="${solaris.server}" trust="true" timeout="${10sec}" username="${username}" password="${password}" command="echo Hello from ${solaris.server}" /> </target> <!-- ==================================================== --> <target name="linux-solaris" depends="linux, solaris" /> <target name="solaris-linux" depends="solaris, linux" /> </project> Running "ant linux linux" produces the following error while attempting the second connection: BUILD FAILED P:\com_lgc\cycle11\infrasdk\build.xml:22: com.jcraft.jsch.JSchException: Auth cancel -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]