How can I automate running commands remotely over SSH to multiple servers in parallel?

前端 未结 20 1680
温柔的废话
温柔的废话 2020-12-12 20:03

I\'ve searched around a bit for similar questions, but other than running one command or perhaps a few command with items such as:

ssh user@host -t sudo su -         


        
20条回答
  •  無奈伤痛
    2020-12-12 20:35

    You can run the same command on several servers at once with a tool like cluster ssh. The link is to a discussion of cluster ssh on the Debian package of the day blog.

提交回复
热议问题