Hacker News new | ask | show | jobs
by necovek 87 days ago
You mean like

  for host in vps_hosts; do
     ssh $host < commands.sh > errors.log 2&>1 &
  done
I imagine what you are really getting out of it is not having to type the actual commands into commands.sh?