Created
November 5, 2014 20:32
-
-
Save balamaci/fe8de7b5db1b52c70c20 to your computer and use it in GitHub Desktop.
SSH execute on remote machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh flyby@inita 'bash -s' << 'DELIMITAT' | |
cd /home/flyby/airprice | |
/home/flyby/airprice/flyby-agent/command.sh stop | |
/home/flyby/airprice/flyby/command.sh stop | |
/home/flyby/airprice/build.sh | |
/home/flyby/airprice/flyby/command.sh start | |
/home/flyby/airprice/flyby-agent/command.sh start | |
DELIMITAT | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment