2014-06-16 05:57:10 +00:00
|
|
|
cdist-type__ssh_dot_ssh(7)
|
|
|
|
==========================
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2016-06-23 14:08:59 +00:00
|
|
|
cdist-type__ssh_dot_ssh - Manage .ssh directory
|
|
|
|
|
2014-06-16 05:57:10 +00:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
Adds or removes .ssh directory to a user home.
|
|
|
|
|
|
|
|
This type is being used by __ssh_authorized_keys.
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
|
2014-06-16 05:57:10 +00:00
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
2016-05-20 06:50:56 +00:00
|
|
|
state
|
2014-06-16 05:57:10 +00:00
|
|
|
if the directory should be 'present' or 'absent', defaults to 'present'.
|
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
.. code-block:: sh
|
|
|
|
|
|
|
|
# Ensure root has ~/.ssh with the right permissions
|
|
|
|
__ssh_dot_ssh root
|
2014-06-16 05:57:10 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
# Nico does not need ~/.ssh anymore
|
|
|
|
__ssh_dot_ssh nico --state absent
|
2014-06-16 05:57:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2016-06-17 19:28:16 +00:00
|
|
|
`cdist-type__ssh_authorized_keys(7) <cdist-type__ssh_authorized_keys.html>`_
|
|
|
|
|
|
|
|
Full documentation at: <:cdist_docs:`index`>,
|
|
|
|
especially cdist type chapter: <:cdist_docs:`cdist-type`>.
|
|
|
|
|
|
|
|
|
|
|
|
AUTHORS
|
|
|
|
-------
|
|
|
|
Nico Schottelius <nico-cdist--@--schottelius.org>
|
2014-06-16 05:57:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
|
|
|
Copyright \(C) 2014 Nico Schottelius. Free use of this software is
|
|
|
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|