Added validation for file modifcation
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
AuthorizedKeysCommandUser git
|
||||
AuthorizedKeysCommand /usr/bin/docker exec -i gitea /usr/local/bin/gitea keys -c /etc/gitea/app.ini -e git -u %u -t %t -k %k
|
||||
become: true
|
||||
validate: /usr/sbin/sshd -T -f %s
|
||||
notify: restart sshd
|
||||
#############################
|
||||
|
||||
|
Reference in New Issue
Block a user