CDIST-TYPE__SSH_DOT_SSH(7)
π cdist-type__ssh_dot_ssh π
okay bestie, so this is a page from the cdist manual set β it's the cdist-type__ssh_dot_ssh type, and it's literally exactly what it sounds like. let's get into it π«Ά
β¨ NAME β¨
cdist-type__ssh_dot_ssh β manage the .ssh directory, bestie. that's the whole job. she's simple, she's iconic, she does one thing and she does it well π
πΈ DESCRIPTION πΈ
this type adds or removes a .ssh directory inside a user's home directory. that's it. that's the gig β¨
also lowkey important: this type is the one being used by __ssh_authorized_keys. so yeah, if you've ever wondered who's out here quietly making sure the .ssh dir exists before the keys get dropped in β it's her. main character energy fr fr π
π OPTIONAL PARAMETERS π
no required params here, she's chill like that. but you can pass:
stateβ tells her whether the directory should be'present'or'absent'. if you don't say anything, she defaults to'present'. so like, she'll just assume you want it there unless you tell her otherwise πββοΈ
π EXAMPLES π
here's how the girlies actually use it:
# Ensure root has ~/.ssh with the right permissions
__ssh_dot_ssh root
# Nico does not need ~/.ssh anymore
__ssh_dot_ssh nico --state absent
first one: root gets her ~/.ssh with the right permissions. periodt. π
second one: Nico said no thank you, so we're yeeting his ~/.ssh with --state absent. bye bestie ππ
π¦ SEE ALSO π¦
cdist-type__ssh_authorized_keys(7)β her bestie, the one that actually calls her. iykyk π₯
π AUTHORS π
Nico Schottelius <nico-cdist--@--schottelius.org> β yeah he wrote this. iconic of him honestly π
π 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.
that's the whole license situation, no cap. free software, share it, remix it, slay β¨
π COPYRIGHT π
ungleich GmbH 2021
ngl that's genuinely the entire page. tiny type, huge responsibility. go forth and manage those .ssh dirs, bestie π§ββοΈ
and that's a wrap on version 7.0.0, dated Jul 31, 2022 β thanks for reading my little manual page, love u, bye ππΈπ
π¦ where this page comes from
- fedora 43: cdist 7.0.0-16.fc43 Β· GPL-3.0-only
- fedora 44: cdist 7.0.0-18.fc44 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms