You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/08/16 20:05:21 UTC
DO NOT REPLY [Bug 36207] New: -
multiple sshexec invocations to same host fails
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: riznob@hotmail.com
CC: riznob@hotmail.com
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org