Class: SSHExecutionProvider
Constant Summary
RemoteExecutionProvider::EFFECTIVE_USER_METHODS
Class Method Summary
collapse
effective_interfaces, effective_user, effective_user_method, find_ip_or_hostname, host_setting, provider_for, provider_names, providers, register
Class Method Details
.humanized_name ⇒ Object
10
11
12
|
# File 'app/models/ssh_execution_provider.rb', line 10
def humanized_name
_('SSH')
end
|
.proxy_command_options(template_invocation, host) ⇒ Object
3
4
5
6
7
8
|
# File 'app/models/ssh_execution_provider.rb', line 3
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
|
.supports_effective_user? ⇒ Boolean
14
15
16
|
# File 'app/models/ssh_execution_provider.rb', line 14
def supports_effective_user?
true
end
|