Re: [capistrano] Net::SSH::ChannelOpenFailed to many servers

2011-03-31 Thread David Taylor
I added ':max_hosts => 5' to the task definition. That made things... different. :-) It doesn't appear to be limiting the number of hosts in each group. Instead, it seems to be specifying the number of times the task will be performed against all servers (notice it does the exact same thing 5 t

Re: [capistrano] Net::SSH::ChannelOpenFailed to many servers

2011-03-31 Thread David Taylor
A measly 10 hosts. There are a lot of co-dependent small steps in the task though. -- David Taylor On Thursday, 31 March 2011 at 6:54 PM, Lee Hambley wrote: > David, how many hosts are we talking about? > > - Lee > > -- > * You received this message because you are subscribed to the Goog

Re: [capistrano] Net::SSH::ChannelOpenFailed to many servers

2011-03-31 Thread David Taylor
Looks like it's 2048 bits. ssh-keygen -lf ~/.ssh/authorized_keys 2048 a2:14:40:dd:ca:ad:d5:3d:0d:8e:0f:2c:7d:e2:70:77 /home/ubuntu/.ssh/authorized_keys (RSA) -- David Taylor On Thursday, 31 March 2011 at 8:11 PM, Lee Hambley wrote: > David, thanks - and your ssh-key length? (not sure how you

Re: [capistrano] Net::SSH::ChannelOpenFailed to many servers

2011-03-31 Thread Lee Hambley
David, thanks - and your ssh-key length? (not sure how you work that out without just counting the length of the keys!) - Lee On 31 March 2011 11:08, David Taylor wrote: > A measly 10 hosts. There are a lot of co-dependent small steps in the > task though. > > -- > David Taylor > > On Thursda

Re: [capistrano] Net::SSH::ChannelOpenFailed to many servers

2011-03-31 Thread Rafa García
Hi David, You could use the parameter :max_hosts in task definition. This parameter defines de maximum number of hosts that should be selected to run this task by groups. Regards 2011/3/31 david.tay...@assistly.com > When I run a task against quite a number of servers I get: > > /Users/david

Re: [capistrano] Net::SSH::ChannelOpenFailed to many servers

2011-03-31 Thread Lee Hambley
David, how many hosts are we talking about? - Lee -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to capistrano@googlegroups.com * To unsubscribe from this group, send email to capistrano+unsubscr...@googleg

[capistrano] Net::SSH::ChannelOpenFailed to many servers

2011-03-31 Thread david.tay...@assistly.com
When I run a task against quite a number of servers I get: /Users/david/.rvm/gems/ruby-1.9.2-p136/gems/net-ssh-2.1.0/lib/net/ssh/ connection/channel.rb:524:in `do_open_failed': open failed (1) (Net::SSH::ChannelOpenFailed) from /Users/david/.rvm/gems/ruby-1.9.2-p136/gems/net-ssh-2.1.0/ lib

[capistrano] net/ssh no such file to load

2010-09-04 Thread badnaam
Here are my net-ssh libraries installed on the dev server net-scp (1.0.3) net-sftp (2.0.5) net-ssh (2.0.23) net-ssh-gateway (1.0.1) ruby 1.8.7 (2010-04-19 patchlevel 253) [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2010.02 Capistrano v2.5.19 here is the deploy.rb http://pastie.org/1

Re: [capistrano] Net::SSH ServerAlive* configuration

2010-06-01 Thread Lee Hambley
Sorry Tim, Was mistaken: - Docs: net-ssh.github.com/net-ssh - Issues: net-ssh.lighthouseapp.com/ - Codes: github.com/net-ssh/net-ssh Maintenance there is done by Delano ( http://github.com/delano/ ) - he may be able to help you - Lee On 27 May 2010 09:19, Tim Carey-Smith wrote: > He

Re: [capistrano] Net::SSH ServerAlive* configuration

2010-05-27 Thread Tim Carey-Smith
Hey there, I tried to search for the ML for net-ssh, but I came up empty-handed. Could you point me to it? Thanks, Tim On May 26, 2010, at 2:28 PM, Lee Hambley wrote: > Tim, > > It's entirely possible that Net::SSH doesn't honor it – there's a separate > list for questions regarding it (als

Re: [capistrano] Net::SSH ServerAlive* configuration

2010-05-26 Thread Lee Hambley
Tim, It's entirely possible that Net::SSH doesn't honor it – there's a separate list for questions regarding it (also on google groups) the maintainer now is Delano Mandebaum (github @delano / @net-ssh) He's much more into the Ruby-SSH stuff that I was ever able to be and will have a much better

[capistrano] Net::SSH ServerAlive* configuration

2010-05-26 Thread Tim Carey-Smith
Hi there, I am wondering if Net::SSH supports configuring ServerAlive* for the client. I tried using Net::SSH.start(, :config => "path/to/ssh_config"), but it didn't seem to take the ServerAliveInterval into account. Will I have to use Net::SSH::Connection::Session#send_global_request or

Re: [capistrano] capistrano/net-ssh errors on cap deploy:setup

2010-02-22 Thread E.J. Hassick
Thanks guys. And yes this was the issue. I actually resolved the problem about 10 minutes after posting this. Thanks again. On Mon, Feb 22, 2010 at 1:15 PM, Lee Hambley wrote: > What Rafa said!, Good luck, Also there's no real, real testing against 1.9 > going on, but we've been assured that

Re: [capistrano] capistrano/net-ssh errors on cap deploy:setup

2010-02-22 Thread Lee Hambley
What Rafa said!, Good luck, Also there's no real, real testing against 1.9 going on, but we've been assured that it works by some users; in this instance though it's pretty clear that it's open ssl that is missing. Please though, post back if & when you run into anymore problems. -- Lee Hambley

Re: [capistrano] capistrano/net-ssh errors on cap deploy:setup

2010-02-22 Thread Rafael G.
I guess that you compiled ruby by hand and forgot include openssl support. You need install libssl-dev , then go to ruby_source_code_path/ext/openssl then write the next commands: ruby extconf.rb make make install Regards! joe wrote: Hello everyone, I've been running through this articl

[capistrano] capistrano/net-ssh errors on cap deploy:setup

2010-02-22 Thread joe
Hello everyone, I've been running through this article -- http://www.forwardthinkingdesign.com/blog/manage-and-deploy-drupal-code-securely-git-gitosis-and-capistrano -- and I'm currently stuck on the part that has to do with capistrano. I'm trying to run cap deploy:setup and and receiving a list

Re: [capistrano] Net::SSH 2.0.16 Net::SSH::AuthenticationFailed

2009-12-09 Thread Lee Hambley
The Correct Syntax (straight from the RDocs) is : Net::SSH.start("host", "user", :password => "password") do |ssh| result = ssh.exec!("ls -l") puts result end (you send the username as a parameter, password should be part of the options hash.) -- Lee Hambley Twitter: @leehambley | @

[capistrano] Net::SSH 2.0.16 Net::SSH::AuthenticationFailed

2009-12-09 Thread lee
I was told folks on this mailing list might be able to help me with this problem. I'm running ruby 1.9.1p243 and net-ssh 2.0.16 and getting this error trying to connect to a vanilla openssh server on the same LAN: l...@lee-hp:~$ irb irb(main):001:0> require 'net/ssh' => true irb(main):002:0> Net:

[Capistrano] Net-SSH 2.0.3 question

2008-08-26 Thread Jeff
Feel free to flame and redirect me if there's a more appropriate mailing list/group for net-ssh questions Starting to learn how to use the net-ssh library (2.0.3). Thanks, Jamis, for all your work on this. Trying to grok the exec method, on either Session or Channel. I've learned how to ca

[Capistrano] Net::SSH::HostKeyMismatch with capistrano-2.3.0 and net-ssh-2.0.3

2008-06-28 Thread giorgio
Hi, I have seen previous posts about this key mismatch problem but I am still getting it. I am trying to do a cap deploy:setup I have had it working on other apps for some time. I upgraded ssh on the box I am deploying to ubuntu 7.1 I had to regenerate the server keys as they were blacklisted

[Capistrano] Net::SSH::AuthenticationFailed with capistrano 2.3

2008-06-08 Thread Tarscher
Hi all, I try to deploy to a dreamhost account but get a Net::SSH::AuthenticationFailed When I use cap deploy:cold I get a Net::SSH::AuthenticationFailed). I have set the username and password in my deploy.rb set :user, 'xxx' set :password, 'xxx' Someone knows what goes wrong? Thanks Stijn

[Capistrano] Net::SSH::Exception: corrupted mac detected

2008-06-03 Thread jamieorc
I upgraded to Cap 2 a few weeks ago. Last week, I tried to use the tunnel feature and got the "corrupted mac detected error". Today I am onsite and am still getting this error. I found and removed the .ssh/ entry for the tunnel. I've upgraded to Net::SSH 2.0.2. I'm looking for guidance in trouble-

[Capistrano] net-ssh

2008-05-21 Thread [EMAIL PROTECTED]
Hi, I've been looking around for a couple of hours and can't seem to find anything addressing the issue I am having. I am trying to deploy using Capistrano and am following the tutorial at capify.org. Currently, the gems I have installed are: capistrano 2.3.0 net-ssh 2.0.1 net-ssh-gateway 1.0.0

[Capistrano] Net::SSH fails on second retry over remote tunnel

2007-08-31 Thread Brian Madden
Hello- Please pardon me if I'm naïve, this is my first post. I first posted this in the ruby-talk, and it was suggested I bring it up here. This isn't directly related to Capistrano, but it is related to Net::SSH so I apologize in advance if this isn't the right forum. I'm working on enabling

[Capistrano] Net::SSH Error : `get': corrupted mac detected (Net::SSH::Exception)

2007-08-31 Thread goodieboy
Hi, I'm using Capistrano to index Solr, and on a few records I get this error: /net/ssh/transport/packet-stream.rb:182:in `get': corrupted mac detected (Net::SSH::Exception) I also get an error related to not being able convert big to long? If I run the command directly (no capistrano) on the s

[Capistrano] Net::SSH::Util::Prompter

2007-06-25 Thread [EMAIL PROTECTED]
`initialize': uninitialized constant Net::SSH::Util::Prompter (NameError) On Capistrano 2, any ideas? --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capist

[Capistrano] Net-SSH 1.1.1 and hostkey verification

2007-05-10 Thread Chris Andrews
Hi, I think I've figured out why we're sometimes seeing hostkey verification problems -- it's happening when a server has both a DSA and an RSA hostkey, and you've already got one, but not both of them in your ~/.ssh/known_hosts from using openssh. Net-SSH comes along and happens to get the other