class Util::SSH

Included Modules

Defined in:

util/ssh.cr

Constructors

Instance Method Summary

Instance methods inherited from module Util

default_log_prefix default_log_prefix, log_line(line, log_prefix = "") log_line, which(command) which

Constructor Detail

def self.new(private_ssh_key_path : String, public_ssh_key_path : String) #

[View source]

Instance Method Detail

def private_ssh_key_path : String #

[View source]
def public_ssh_key_path : String #

[View source]
def run(instance, port, command, use_ssh_agent, print_output = true) #

[View source]
def wait_for_instance(instance, port, use_ssh_agent, test_command, expected_result, max_attempts : Int16 = 20) #

[View source]