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