Method: EcsCmd::Exec.ssh_cmd

Defined in:
lib/ecs_cmd/exec.rb

.ssh_cmd(ip) ⇒ Object

move this to a config



10
11
12
13
# File 'lib/ecs_cmd/exec.rb', line 10

def ssh_cmd(ip)
  cmd = 'ssh -tt -o StrictHostKeyChecking=no '
  cmd << ip.to_s
end