Class: Serverkit::Backends::SshBackend
- Inherits:
- 
      BaseBackend
      
        - Object
- BaseBackend
- Serverkit::Backends::SshBackend
 
- Defined in:
- lib/serverkit/backends/ssh_backend.rb
Constant Summary collapse
- DEFAULT_SSH_OPTIONS =
- {} 
Instance Attribute Summary collapse
- 
  
    
      #host  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute host. 
Instance Method Summary collapse
- 
  
    
      #initialize(host: nil, ssh_options: nil, **args)  ⇒ SshBackend 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SshBackend. 
Methods inherited from BaseBackend
#check_command, #check_command_from_identifier, #get_command_from_identifier, #logger, #run_command, #run_command_from_identifier
Constructor Details
#initialize(host: nil, ssh_options: nil, **args) ⇒ SshBackend
Returns a new instance of SshBackend.
| 15 16 17 18 19 | # File 'lib/serverkit/backends/ssh_backend.rb', line 15 def initialize(host: nil, ssh_options: nil, **args) super(**args) @host = host @ssh_options = end | 
Instance Attribute Details
#host ⇒ Object (readonly)
Returns the value of attribute host.
| 11 12 13 | # File 'lib/serverkit/backends/ssh_backend.rb', line 11 def host @host end |