98. cdist-type__ssh_dot_ssh(7)

Manage .ssh directory

Nico Schottelius <nico-cdist--@--schottelius.org>

98.1. NAME

98.2. DESCRIPTION

Adds or removes .ssh directory to a user home.

This type is being used by __ssh_authorized_keys.

98.3. OPTIONAL PARAMETERS

state
if the directory should be ‘present’ or ‘absent’, defaults to ‘present’.

98.4. EXAMPLES

# Ensure root has ~/.ssh with the right permissions
__ssh_dot_ssh root

# Nico does not need ~/.ssh anymore
__ssh_dot_ssh nico --state absent

98.6. 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).