It appears that the commands execute on the remote machine, just the output is 
not displayed after the first connection. I know this because I changed the 
commands to touch a new file with each connection and it worked as expected. I 
will look at the code and hopefully find the problem.

-Rob A

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 06, 2005 8:20 AM
> To: [EMAIL PROTECTED]
> Cc: user@ant.apache.org
> Subject: Re: FW: Connection Failures On SSHExec Task
> 
> 
> Hi,
> 
>    +-From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]> --
>    |_Date: Fri, 3 Jun 2005 10:16:53 -0700 __________________________
>    |
>    |> > >   [sshexec] Connecting to xxx.com:22
>    |> > >   [sshexec] root
>    |> > >   [sshexec] Connecting to xxx.com:22
>    |> > >   [sshexec] Connecting to xxx.com:22
>    |> > >   [sshexec] Connecting to xxx.com:22
>    |> > >   [sshexec] Connecting to xxx.com:22
>    |> > >   [sshexec] Connecting to xxx.com:22
>    |> > >   [sshexec] Connecting to xxx.com:22
>    |> > >   [sshexec] Connecting to xxx.com:22
>    |> > >   [sshexec] Connecting to xxx.com:22
>    |> > >   [sshexec] Connecting to xxx.com:22
> 
> I have not found the reason yet, but I have remembered that 
> OpenSSH's sshd allows to use only 10 sessions simultaneously on 
> the single channel.  So, it seems each sshexec channel has not
> be disconnected cleanly.
> 
> Thanks,
> --
> Atsuhiko Yamanaka
> JCraft,Inc.
> 4-1 OHMACHI 1-CHOME AOBA-KU,
> SENDAI, MIYAGI 980-0804 Japan.
> Tel +81-22-723-2150
>     +1-415-578-3454
> Fax +81-22-224-8773
> Skype callto://jcraft/
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to