Skip to content

Instantly share code, notes, and snippets.

@Demontager
Created April 30, 2014 18:07
Show Gist options
  • Save Demontager/bedfa56e38a9001e100d to your computer and use it in GitHub Desktop.
Save Demontager/bedfa56e38a9001e100d to your computer and use it in GitHub Desktop.
{
cat <<EOT
$expand this
EOT
cat <<"EOT"
don't $expand this
EOT
} | ssh root@$server 'cat - > /tmp/cardcheck.sh'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment