class

Candilano::Ssh

Inherits Reference / Object

Constructors

new(config : YAML::Any, servers : YAML::Any)
Source

Instance methods

build_command(host)
Source
execute(command : String, user_env = true, dry_run = false, on_role = nil)
Source
file_exists?(path)
Source
key=(key : String)
Source
port
Source
port=(port : Int32)
Source
prepare_command(command, user_env)
Source
run_command(host, command, user_env, dry_run = false)
Source
scp(local_file : String, remote_file : String)

TODO: SCP files from local to remote

Source
servers
Source
servers=(servers : YAML::Any)
Source
user
Source
user=(user : String)
Source