So far, my loop works (sort of), but I have to manually press ctrl+d do logout of the session for the loop to continue on the next server.
Here is my code:
1 23 45 6
for i in $(cat host.txt) dossh -q $i cat /proc/meminfo > /tmp/$i.txtscp -pr /tmp/$i.txt blade38:/tmp/$i.txt done
I'm sure I'm missing something basic in order to get the loop to continue once it is finished on one server...