HOST=$1 if [[ -z $1 ]]; then HOST="web" echo $HOST fi ssh $HOST /srv/blog/scripts/update.sh