Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Connection Failures On SSHExec Task

Connection Failures On SSHExec Task

2005-06-07       - By Anderson, Rob (Global Trade)
Reply:     <<     11     12     13  

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: ymnk@(protected) [mailto:ymnk@(protected)]
> Sent: Monday, June 06, 2005 8:20 AM
> To: Rob.Anderson@(protected)
> Cc: user@(protected)
> Subject: Re: FW: Connection Failures On SSHExec Task
>
>
> Hi,
>
>    +-From: "Anderson, Rob (Global Trade)" <Rob.Anderson@(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: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.