module SSH
  def ssh_opts(options)
    [
      "-p #{options[:ssh_port]}",
      "-i #{options[:identity_file]}",
      "-l #{options[:ssh_user]}",
      "-o StrictHostKeyChecking=no",
      "-o UserKnownHostsFile=/dev/null"
    ].join(' ')
  end
end
