instance method
proxy
Ruby on Rails 2.8.2
Since v1.9.3 Last seen in v2.11.0Signature
proxy()
No documentation comment.
Source
# File lib/kamal/configuration/ssh.rb, line 21
def proxy
if (proxy = ssh_config["proxy"])
Net::SSH::Proxy::Jump.new(proxy.include?("@") ? proxy : "root@#{proxy}")
elsif (proxy_command = ssh_config["proxy_command"])
Net::SSH::Proxy::Command.new(proxy_command)
end
end
Defined in lib/kamal/configuration/ssh.rb line 21
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Kamal::Configuration::Ssh