class Kitsune::Kit::Commands::SetupDoMetrics

def with_ssh(filled_options)

def with_ssh(filled_options)
  Net::SSH.start(
    filled_options[:server_ip],
    "deploy",
    port: filled_options[:ssh_port],
    keys: [File.expand_path(filled_options[:ssh_key_path])],
    non_interactive: true,
    timeout: 5
  ) do |ssh|
    yield ssh
  end
end