Merge pull request #33081 from jfindlay/ssh_doc

ssh docs: install py-2.6 for RHEL 5
This commit is contained in:
Mike Place 2016-05-06 08:18:39 -07:00
commit 3808d05838

View file

@ -98,6 +98,17 @@ Once keys are successfully deployed, salt-ssh can be used to control them.
Calling Salt SSH
================
.. note:: ``salt-ssh`` on RHEL/CentOS 5
The ``salt-ssh`` command requires at least python 2.6, which is not
installed by default on RHEL/CentOS 5. An easy workaround in this
situation is to use the ``-r`` option to run a raw shell command that
installs python26:
.. code-block:: bash
salt-ssh centos-5-minion -r 'yum -y install epel-release ; yum -y install python26'
The ``salt-ssh`` command can be easily executed in the same way as a salt
command: