carta
cdist-type__ssh_dot_ssh(7)

cdist-type__ssh_dot_ssh7

Manage .ssh directory

Overview

Adds or removes .ssh directory to a user home.

This type is being used by __ssh_authorized_keys.

Optional parameters

state

if the directory should be 'present' or 'absent', defaults to 'present'.

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

Copying

Copyright (C) 2014 Nico Schottelius. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch)

Authors

Nico Schottelius <[email protected]>

From cdist 7.0.0-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.