title: jenkins and bash get nodes uptime
body: <p>i have to take uptime of my nodes pool in jenkins. I looking for decision a lot and found that there is only way is to connect on each node via ssh and check their status with uptime time. i'am new in bash, and now i write a simple script wich will connect on one machine, but smth wrong and i have got no output at all</p>
  
  <pre><code>for 3A1A; do
  ssh 3A1A "bash -s" &lt; uptime
  done
  </code></pre>