Class: SSHKit::Backend::Netssh::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/sshkit/backends/netssh.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



35
36
37
# File 'lib/sshkit/backends/netssh.rb', line 35

def initialize
  self.transfer_method = :scp
end

Instance Attribute Details

#connection_timeoutObject

Returns the value of attribute connection_timeout.



31
32
33
# File 'lib/sshkit/backends/netssh.rb', line 31

def connection_timeout
  @connection_timeout
end

#ptyObject

Returns the value of attribute pty.



31
32
33
# File 'lib/sshkit/backends/netssh.rb', line 31

def pty
  @pty
end

#ssh_optionsObject



45
46
47
# File 'lib/sshkit/backends/netssh.rb', line 45

def ssh_options
  default_options.merge(@ssh_options ||= {})
end

#transfer_methodObject

Returns the value of attribute transfer_method.



32
33
34
# File 'lib/sshkit/backends/netssh.rb', line 32

def transfer_method
  @transfer_method
end