something is wonk here
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
lineinfile:
|
lineinfile:
|
||||||
state: present
|
state: present
|
||||||
path: /etc/ssh/sshd_config
|
path: /etc/ssh/sshd_config
|
||||||
regexp: '^#?AuthorizedKeysCommand'
|
regexp: '^#AuthorizedKeysCommand'
|
||||||
line: 'AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys'
|
line: 'AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys'
|
||||||
notify: restart sshd
|
notify: restart sshd
|
||||||
|
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
lineinfile:
|
lineinfile:
|
||||||
state: present
|
state: present
|
||||||
path: /etc/ssh/sshd_config
|
path: /etc/ssh/sshd_config
|
||||||
regexp: '^#?AuthorizedKeysCommandUser'
|
regexp: '^#AuthorizedKeysCommandUser'
|
||||||
line: 'AuthorizedKeysCommandUser nobody'
|
line: 'AuthorizedKeysCommandUser nobody'
|
||||||
notify: restart sshd
|
notify: restart sshd
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user