Hi


I have

a_hostname=host6

b_hostname=host10



<ac:for list="${a_hostname}, ${b_hostname}" param="host">

<ac:sequential>

<sshexec host="@{host}"

username="${a_username}"

password="${a_password}"

outputproperty="output_property"

command="cd ${build.directory}; ls"

trust="true"

failonerror="true"/>

:

:

Output

[sshexec] Connecting to host10:22

[ant] Exiting build_main.xml.

build_main.xml:251: com.jcraft.jsch.JSchException:
java.net.UnknownHostException:
  host10
        at org.apache.tools.ant.taskdefs.optional.ssh.SSHExec.execute(
SSHExec.ja
va:209)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java
:288)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
:
:

when I can reach the hosts

Probing host host6

Host address = 10.1.6.206

host is reachable

Probing host host10

Host address = 10.1.6.210

host is reachable

with IsReachable task



Can a hero work with me to troubleshoot this ? I don't know why it won't
connect to host10.

I tried independently on MS Powershell, it can be logged into.

Any help is appreciated

Reply via email to