salt/doc/ref/cli/salt-ssh.rst

79 lines
1.9 KiB
ReStructuredText
Raw Normal View History

2013-07-07 03:33:46 +00:00
============
``salt-ssh``
============
Synopsis
========
salt-ssh '*' [ options ] sys.doc
salt-ssh -E '.*' [ options ] sys.doc cmd
Description
===========
2013-11-23 23:18:40 +00:00
Salt SSH allows for salt routines to be executed using only SSH for transport
2013-07-07 03:33:46 +00:00
Options
=======
.. option:: -r, --raw, --raw-shell
Execute a raw shell command.
2014-01-22 17:18:09 +00:00
.. 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 (Hydrogen)
.. 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:: --passwd
2014-02-03 10:19:11 +00:00
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.
2013-07-07 03:33:46 +00:00
.. program:: salt
.. include:: _includes/common-options.rst
2013-07-07 03:33:46 +00:00
.. include:: _includes/target-selection.rst
2013-07-07 03:33:46 +00:00
.. include:: _includes/logging-options.rst
.. |logfile| replace:: /var/log/salt/ssh
.. |loglevel| replace:: ``warning``
.. include:: _includes/output-options.rst
2013-07-07 03:33:46 +00:00
See also
========
:manpage:`salt(7)`
:manpage:`salt-master(1)`
:manpage:`salt-minion(1)`