ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: sshexec hangs
Date Thu, 21 Feb 2008 11:44:31 GMT
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


Mime
View raw message