#!/bin/bash -e target=$1 [ "$target" ] || echo "Please, provide an ssh target" shift remote_command=$( cat <