.
This commit is contained in:
parent
f8661902dc
commit
de1f37983b
@ -1,3 +1,12 @@
|
|||||||
|
Install sshd:
|
||||||
|
pkg.installed:
|
||||||
|
- name: openssh-server
|
||||||
|
|
||||||
|
start sshd:
|
||||||
|
service.running:
|
||||||
|
- name: sshd
|
||||||
|
- enable: True
|
||||||
|
|
||||||
{% if pillar['ssh']['user-pub-keys'] %}
|
{% if pillar['ssh']['user-pub-keys'] %}
|
||||||
{{ pillar['username'] }}_autherized_keys:
|
{{ pillar['username'] }}_autherized_keys:
|
||||||
ssh_auth:
|
ssh_auth:
|
||||||
|
Loading…
Reference in New Issue
Block a user