title: iLO3: Multiple SSH commands
body: <p>is there a way to run multiple commands in HPs integrated Lights-Out 3 system via SSH? I can login to iLO and run a command line by line, but I need to create a small shell-script, to connect to iLO and to run some commands one by one.</p>
  
  <p>This is the line I use, to get information about the iLO-version:</p>
  
  <pre><code>/usr/bin/ssh -i dsa_key administrator@&lt;iLO-IP&gt; "version"
  </code></pre>
  
  <p>Now, how can I do something like this?</p>
  
  <pre><code>/usr/bin/ssh -i dsa_key administrator@&lt;iLO-IP&gt; "version" "show /map1 license" "start /system1"
  </code></pre>
  
  <p>This doesn't work, because iLO thinks it's all one command. But I need something to login into iLO, run these commands and then exit from iLO. It takes too much time to run them one after the other because every login into iLO-SSH takes ~5-6 seconds (5 commands = 5*5 seconds...).</p>
  
  <p>I've also tried to seperate the commands directly in iLO after manual login but there is no way to use multiple commands in one line. Seems like one command is finished by pressing return.</p>
  
  <p>iLO-SSH Version is: SM-CLP Version 1.0</p>
  
  <p>The following solutions did NOT work:</p>
  
  <pre><code>/usr/bin/ssh -i dsa_key administrator@&lt;iLO-IP&gt; "version; show /map1 license; start /system1"
  /usr/bin/ssh -i dsa_key administrator@&lt;iLO-IP&gt; "version &amp;&amp; show /map1 license &amp;&amp; start /system1"
  </code></pre>