---
name: "cdist-type__ssh_dot_ssh"
section: "7"
platform: "linux"
package: "cdist"
version: "7.0.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/cdist-type__ssh_dot_ssh"
---

# cdist-type\_\_ssh\_dot\_ssh(7)

Manage .ssh directory

## NAME

cdist-type\_\_ssh\_dot\_ssh - Manage .ssh directory

## DESCRIPTION

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
```

## SEE ALSO

[**cdist-type\_\_ssh\_authorized\_keys**(7)](/cdist-type__ssh_authorized_keys/7.md)

## AUTHORS

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

## 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.

## COPYRIGHT

ungleich GmbH 2021
