Class: LogicalConstruct::SSHTunnel::CancelTask
- Inherits:
-
Mattock::Rake::CommandTask
- Object
- Mattock::Rake::CommandTask
- LogicalConstruct::SSHTunnel::CancelTask
- Defined in:
- lib/logical-construct/protocol/ssh-tunnel.rb
Instance Method Summary collapse
Instance Method Details
#check_verification_command ⇒ Object
74 75 76 |
# File 'lib/logical-construct/protocol/ssh-tunnel.rb', line 74 def check_verification_command !super end |
#command ⇒ Object
78 79 80 |
# File 'lib/logical-construct/protocol/ssh-tunnel.rb', line 78 def command cmd("ssh", "-n", "-o ControlMaster=auto", "-O exit", target_address) end |
#verify_command ⇒ Object
70 71 72 |
# File 'lib/logical-construct/protocol/ssh-tunnel.rb', line 70 def verify_command cmd("ssh", "-o ControlMaster=auto", "-O check", target_address) end |