Created
February 2, 2017 13:20
-
-
Save jstaffans/b4e31d0c820ceacc283613b5e9abde15 to your computer and use it in GitHub Desktop.
Execute contents of script via SSH
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
#!/bin/sh | |
tail -n +3 "@0" | ssh <foo@bar>; exit | |
echo "hi" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment