Sha256: 4d48c79fdace3e7e14d498b3bd26c694a439350a1577d95eb32cc9cfda7bbe03
Contents?: true
Size: 671 Bytes
Versions: 3
Compression:
Stored size: 671 Bytes
Contents
class SSHExecutionProvider < RemoteExecutionProvider class << self def proxy_command_options(template_invocation, host) super.merge(:ssh_user => ssh_user(host), :effective_user => effective_user(template_invocation), :effective_user_method => effective_user_method(host), :ssh_port => ssh_port(host)) end def humanized_name _('SSH') end def supports_effective_user? true end private def ssh_user(host) host.params['remote_execution_ssh_user'] end def ssh_port(host) Integer(host_setting(host, :remote_execution_ssh_port)) end end end
Version data entries
3 entries across 3 versions & 1 rubygems