diff --git a/linux/SSHPubKeys.sls b/linux/SSHPubKeys.sls index 1e9271a..a0a04e8 100644 --- a/linux/SSHPubKeys.sls +++ b/linux/SSHPubKeys.sls @@ -1,3 +1,11 @@ +Creation of directory /root/.ssh: + directory.managed: + - name: /root/.ssh + - mode: '0700' + - user: root + - group: root + - makedirs: True + Creation of file /root/.ssh/authorized_keys: file.managed: - name: /root/.ssh/authorized_keys