mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
f6d9cdc633
Conflicts: - doc/ref/states/compiler_ordering.rst - doc/topics/installation/suse.rst - doc/topics/jobs/schedule.rst - doc/topics/targeting/grains.rst - doc/topics/tutorials/preseed_key.rst - doc/topics/tutorials/states_pt5.rst - pkg/suse/use-forking-daemon.patch - salt/minion.py - salt/modules/pacman.py - salt/modules/state.py - salt/modules/yumpkg.py
97 lines
2.3 KiB
ReStructuredText
97 lines
2.3 KiB
ReStructuredText
============
|
|
``salt-ssh``
|
|
============
|
|
|
|
Synopsis
|
|
========
|
|
|
|
.. code-block:: bash
|
|
|
|
salt-ssh '*' [ options ] sys.doc
|
|
|
|
salt-ssh -E '.*' [ options ] sys.doc cmd
|
|
|
|
Description
|
|
===========
|
|
|
|
Salt SSH allows for salt routines to be executed using only SSH for transport
|
|
|
|
Options
|
|
=======
|
|
|
|
.. option:: -r, --raw, --raw-shell
|
|
|
|
Execute a raw shell command.
|
|
|
|
.. option:: --priv
|
|
|
|
Specify the SSH private key file to be used for authentication.
|
|
|
|
.. option:: --roster
|
|
|
|
Define which roster system to use, this defines if a database backend,
|
|
scanner, or custom roster system is used. Default is the flat file roster.
|
|
|
|
.. option:: --roster-file
|
|
|
|
Define an alternative location for the default roster file location. The
|
|
default roster file is called ``roster`` and is found in the same directory
|
|
as the master config file.
|
|
|
|
.. versionadded:: 2014.1.0
|
|
|
|
.. option:: --refresh, --refresh-cache
|
|
|
|
Force a refresh of the master side data cache of the target's data. This
|
|
is needed if a target's grains have been changed and the auto refresh
|
|
timeframe has not been reached.
|
|
|
|
.. option:: --max-procs
|
|
|
|
Set the number of concurrent minions to communicate with. This value
|
|
defines how many processes are opened up at a time to manage connections,
|
|
the more running process the faster communication should be, default
|
|
is 25.
|
|
|
|
.. option:: -i, --ignore-host-keys
|
|
|
|
Disables StrictHostKeyChecking to relax acceptance of new and unknown
|
|
host keys.
|
|
|
|
.. option:: --no-host-keys
|
|
|
|
Fully ignores ssh host keys which by default are honored and connections
|
|
would ask for approval. Useful if the host key of a remote server has
|
|
changed and would still error with --ignore-host-keys.
|
|
|
|
|
|
.. option:: --passwd
|
|
|
|
Set the default password to attempt to use when authenticating.
|
|
|
|
.. option:: --key-deploy
|
|
|
|
Set this flag to attempt to deploy the authorized ssh key with all
|
|
minions. This combined with --passwd can make initial deployment of keys
|
|
very fast and easy.
|
|
|
|
.. program:: salt
|
|
|
|
.. include:: _includes/common-options.rst
|
|
|
|
.. include:: _includes/target-selection-ssh.rst
|
|
|
|
.. include:: _includes/logging-options.rst
|
|
.. |logfile| replace:: /var/log/salt/ssh
|
|
.. |loglevel| replace:: ``warning``
|
|
|
|
.. include:: _includes/output-options.rst
|
|
|
|
|
|
See also
|
|
========
|
|
|
|
:manpage:`salt(7)`
|
|
:manpage:`salt-master(1)`
|
|
:manpage:`salt-minion(1)`
|