Class: SSHKit::Backend::Libssh::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



11
12
13
14
15
16
# File 'lib/sshkit/backends/libssh.rb', line 11

def initialize
  super
  self.pty = false
  self.connection_timeout = 30
  self.ssh_options = {}
end

Instance Attribute Details

#connection_timeoutObject

Returns the value of attribute connection_timeout.



9
10
11
# File 'lib/sshkit/backends/libssh.rb', line 9

def connection_timeout
  @connection_timeout
end

#ptyObject

Returns the value of attribute pty.



9
10
11
# File 'lib/sshkit/backends/libssh.rb', line 9

def pty
  @pty
end

#ssh_optionsObject

Returns the value of attribute ssh_options.



9
10
11
# File 'lib/sshkit/backends/libssh.rb', line 9

def ssh_options
  @ssh_options
end