title: sshpass with multiple commands BASH SCRIPT
body: <p>I want to create a bash script, which displays all data from mysql return.
  The problem is, that i need to insert multiple commands e.g. "mysql -u root" => "use test" => "SELECT * FROM test"</p>
  
  <p>i have tested it by creating 2 files. only the first file could be created.  Below are the versions how I have tested it. Does anybody have an idea how I can enter all commands after the row?
  thank you for your attention.</p>
  
  <p>Try 1</p>
  
  <pre><code>sshpass -p "" ssh -o StrictHostKeyChecking=no root@xxx.xxx.xxx.xxx touch test/test1.txt &amp; touch test2.txt
  </code></pre>
  
  <p>Try2</p>
  
  <pre><code>sshpass -p "" ssh -o StrictHostKeyChecking=no root@xxx.xxx.xxx.xxx touch test/test1.txt &amp;&amp; touch test2.txt
  </code></pre>
  
  <p>Try3</p>
  
  <pre><code>sshpass -p "" ssh -o StrictHostKeyChecking=no root@xxx.xxx.xxx.xxx touch test/test1.txt; touch test2.txt;
  </code></pre>
  
  <p>Try4</p>
  
  <pre><code>sshpass -p "" ssh -o StrictHostKeyChecking=no root@xxx.xxx.xxx.xxx touch test/test1.txt || touch test2.txt
  </code></pre>