You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Z W <mp...@gmail.com> on 2008/02/21 10:36:13 UTC
sshexec hangs
Hi
I have
<sshexec host="${hostname}"
username="${username}"
password="${password}"
command=" echo ${directory};
ls ${directory};"
trust="true"
failonerror="false"
outputproperty="jarfile" />
But for unknown reason, sshexec hangs when executing Ant 1.7
sun_files:
[sshexec] Connecting to sun01:22
Why ?
Anything I could do to overcome the hanging ?
Thanks
Re: sshexec hangs
Posted by Steve Loughran <st...@apache.org>.
Z W wrote:
> Hi
>
> I have
>
> <sshexec host="${hostname}"
>
> username="${username}"
>
> password="${password}"
>
> command=" echo ${directory};
>
> ls ${directory};"
>
> trust="true"
>
> failonerror="false"
>
> outputproperty="jarfile" />
>
>
>
> But for unknown reason, sshexec hangs when executing Ant 1.7
>
> sun_files:
> [sshexec] Connecting to sun01:22
>
> Why ?
>
> Anything I could do to overcome the hanging ?
can you telnet to that port by hand?
telnet sun01 22
can you ssh to that machine by hand?
--
Steve Loughran http://www.1060.org/blogxter/publish/5
Author: Ant in Action http://antbook.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org