What is the cleanest way to ssh and run multiple commands in Bash?
“Now, what I’d really like to do is run a lot of long commands on an external server. Enclosing all of these in between quotation marks would be quite ugly, and I’d really rather avoid ssh’ing multiple times just to avoid this.”
read »