carta

knife-ssh(1) on Linux

The text 0d9a37a6c694, as Debian 10 (Buster), Debian 9 (Stretch) shipped it. The page shows this text now.

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 made to the Chef server. Syntax This subcommand 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:

knife-ssh(1) on Linux now