14
15
16
17
18
19
20
21
|
# File 'lib/flotte/cli/host.rb', line 14
def ssh(host)
host = Flotte.registry.hosts[host]
command = ["ssh", "-t", host.ssh_destination_string]
run_locally do
info "Connecting to host #{host.name} via #{command.join(" ")}"
Kernel.exec(*command)
end
end
|