knife-ssh(1) on Linux
The text 5331c4a7ed51, as Debian 8 (Jessie) shipped it.
The man page for the knife ssh subcommand. The knife ssh subcommand is used to invoke SSH commands (in parallel) on a subset of nodes within an organization, based on the results of a search query. Syntax This argument has the following syntax: Options This subcommand has the following options: Examples To find the uptime of all of web servers running Ubuntu on the Amazon EC2 platform, enter: to return something like: To force a chef-client run on all of the web servers running Ubuntu on the Amazon EC2 platform, enter: to return something like: To query for all nodes that have the "webserver" role and then use SSH to run the command "sudo chef-client", enter: To specify the shell type used on the nodes returned by a search query: where screen is one of the following values: cssh, interactive, macterm, screen, or tmux. If the node does not have the shell type installed, Knife will return an error similar to the following: