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.



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

def initialize
  self.transfer_method = :scp
end

Instance Attribute Details

#connection_timeoutObject

Returns the value of attribute connection_timeout.



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

def connection_timeout
  @connection_timeout
end

#ptyObject

Returns the value of attribute pty.



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

def pty
  @pty
end

#ssh_optionsObject



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

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

#transfer_methodObject

Returns the value of attribute transfer_method.



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

def transfer_method
  @transfer_method
end