blob: b2d5d84a3727280c48932df1f7599cc115766847 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
=====================================================
knife ssh
=====================================================
.. include:: ../../includes_knife/includes_knife_ssh.rst
Syntax
=====================================================
.. include:: ../../includes_knife/includes_knife_ssh_syntax.rst
Options
=====================================================
.. note:: Review the list of :doc:`common options </knife_common_options>` available to this (and all) |knife| subcommands and plugins.
.. include:: ../../includes_knife/includes_knife_ssh_options.rst
knife.rb Settings
-----------------------------------------------------
.. note:: See :doc:`knife.rb </config_rb_knife>` for more information about how to add optional settings to the |knife rb| file.
.. include:: ../../includes_knife/includes_knife_ssh_settings.rst
Examples
=====================================================
The following examples show how to use this |knife| subcommand:
**Find server uptime**
.. include:: ../../step_knife/step_knife_ssh_find_uptime.rst
**Run the chef-client on all nodes**
.. include:: ../../step_knife/step_knife_ssh_run_chef_client_on_all_nodes.rst
**Force a chef-client run**
.. include:: ../../step_knife/step_knife_ssh_force_chef_run.rst
**Run a command based on search query**
.. include:: ../../step_knife/step_knife_ssh_query_for_nodes.rst
**Upgrade all nodes**
.. include:: ../../step_knife/step_knife_ssh_upgrade_nodes.rst
**Specify the shell type**
.. include:: ../../step_knife/step_knife_ssh_shell_type.rst
|