#!/bin/sh . ./config ./dev/container-create.sh _url="$_local_hostname.$_local_domain" cat config dev/dev-env-setup.sh | ssh root@"$_url" 'cat >/tmp/deploy-script.sh' ssh root@"$_url" '/bin/bash /tmp/deploy-script.sh' ssh root@"$_url" '/bin/bash -c "rm /tmp/deploy-script.sh"'