El 18/05/10 22:38, Ronie Gilberto Henrich escribió:
Hi Rafael,

max_hosts just limit the number of hosts, not the number of ssh channels per 
connection.


Thanks,
Ronie

I'm seeing the code in capistrano/lib/capistrano/ssh.rb and said at line 35:

# If an :ssh_options key exists in +options+, it is passed to the Net::SSH
  # constructor.

It means that you can do things like this:

  set :ssh_options, { :forward_agent => true }

Well, If you read Net::SSH::start[1] method you can see all the options that accept. I guess the ":properties" parameters is that you need(the help send you to Net:SSH::Session#properties to see what support), but I don't find any reference about it.

Maybe, you should ask to net-ssh maintainer.

Regards




[1] http://net-ssh.rubyforge.org/ssh/v2/api/classes/Net/SSH.html#M000013

--
Rafa

--
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to