Look in /etc/ssh/sshd_config for a MaxStartups parameter.

James

On Oct 17, 8:26 am, mzorova <[EMAIL PROTECTED]> wrote:
> all connections are going through a gateway. Using ssh-agent via
> cygwin, and the ruby from cygwin (not the windows ruby) Cap 2.5 net-
> ssh 2.0
>
> When running the tasks one server at a time, there is no problem. When
> running the tasks 6 servers simultaneously, the first ten tasks
> complete ok, and then, it hangs on the 11th or so..
>
> Ctrl-C shows that it is waiting on the ssh-agent..
>
>   * executing "sudo -p 'sudo password: 'scp -P 20045
> [EMAIL PROTECTED]:/home/user/samples/common/sshd_config /etc/ssh/"
>     servers: ["192.168.1.33", "192.168.1.34", "192.168.1.35",
> "192.168.1.36", "192.168.1.37", "192.168.1.38"]
>     [192.168.1.34:20045] executing command
>     [192.168.1.36:20045] executing command
>     [192.168.1.37:20045] executing command
>     [192.168.1.33:20045] executing command
>     [192.168.1.35:20045] executing command
>     [192.168.1.38:20045] executing command
> /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/authentication/
> agent.rb:146:in `send': Interrupt
>         from /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/
> authentication/agent.rb:146:in `send_packet'
>         from /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/
> authentication/agent.rb:163:in `send_and_wait'
>         from /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/
> authentication/agent.rb:82:in `negotiate!'
>         from /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/
> authentication/agent.rb:54:in `connect'
>         from /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/
> service/forward.rb:258:in `auth_agent_channel'
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 27:in `to_proc'
>         from /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/
> connection/session.rb:494:in `[]'
>         from /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/
> connection/session.rb:494:in `channel_open'
>         from /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/
> connection/session.rb:437:in `send'
>         from /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/
> connection/session.rb:437:in `dispatch_incoming_packets'
>         from /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/
> connection/session.rb:194:in `preprocess'
>         from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.0/lib/
> capistrano/processable.rb:17:in `process_iteration'
>         from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.0/lib/
> capistrano/processable.rb:43:in `ensure_each_session'
>         from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.0/lib/
> capistrano/processable.rb:41:in `each'
>         from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.0/lib/
> capistrano/processable.rb:41:in `ensure_each_session'
>         from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.0/lib/
> capistrano/processable.rb:17:in `process_iteration'
>         from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.0/lib/
> capistrano/command.rb:163:in `process!'
>         from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.0/lib/
> capistrano/command.rb:162:in `loop'
>         from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.0/lib/
> capistrano/command.rb:162:in `process!'
>         from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.0/lib/
> capistrano/command.rb:133:in `process'
>         from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.0/lib/
> capistrano/configuration/actions/invocation.rb:81:in `run_tree'

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to