http://qs321.pair.com?node_id=1217483


in reply to SSHing in multiple servers and execute command on each

Not addressing your immediate question, but in the long term, I'd suggest researching Ansible for such tasks.

well worth the time investement for configuring multiple servers.

                Memory fault   --   brain fried