knife-ssh
- Run a command or interactive session on multiple remote hosts
knife ssh QUERY COMMAND (options)
-a
, --attribute ATTR
-C
, --concurrency NUM
-m
, --manual-list
-P
, --ssh-password PASSWORD
-x
, --ssh-user USERNAME
The ssh sub-command opens an ssh session to each of the nodes in the search results of the QUERY. This sub-command requires that the net-ssh-multi and highline Ruby libraries are installed. On Debian systems, these are the libnet-ssh-multi-ruby and libhighline-ruby packages. They can also be installed as RubyGems (net-ssh-multi and highline, respectively).