knife-ssh1
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:
History
- Debian 10 (Buster) to Debian 9 (Stretch): the text shown here
- Debian 8 (Jessie)
- Debian 7 (Wheezy)