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