#!/bin/sh TARBALL=hobercfg.tar.gz cd make $TARBALL for target in "$@"; do scp $TARBALL ${target}: && ssh $target tar xzvf $TARBALL done