instance method
with_ssh
Ruby on Rails 2.6.1
Since v1.9.3 Last seen in v2.11.0 PrivateSignature
with_ssh(&block)
No documentation comment.
Parameters
-
blockblock
Source
# File lib/kamal/sshkit_with_ext.rb, line 83
def with_ssh(&block)
host.ssh_options = self.class.config.ssh_options.merge(host.ssh_options || {})
self.class.pool.with(
method(:start_with_concurrency_limit),
String(host.hostname),
host.username,
host.netssh_options,
&block
)
end
Defined in lib/kamal/sshkit_with_ext.rb line 83
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Netssh::LimitConcurrentStartsInstance