Skip to content

Instantly share code, notes, and snippets.

@mateusz-fiolka
Created July 23, 2012 15:38
Show Gist options
  • Save mateusz-fiolka/3164280 to your computer and use it in GitHub Desktop.
Save mateusz-fiolka/3164280 to your computer and use it in GitHub Desktop.
ssh vps <<'EOS'
ls
relase_name="release-$(date +%F-%H:%M)"
echo $release_name
EOS
...
Pseudo-terminal will not be allocated because stdin is not a terminal.
(here ls output)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment