mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
basessh / pagure: undo change to everyone using git user, as we are not doing this now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -51,11 +51,9 @@ AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
|
||||
AcceptEnv XMODIFIERS
|
||||
|
||||
{% if sshd_keyhelper %}
|
||||
# For git
|
||||
Match User git
|
||||
AuthorizedKeysCommandUser git
|
||||
AuthorizedKeysCommand /usr/libexec/pagure/keyhelper.py "%u" "%h" "%t" "%f"
|
||||
{% elif env == 'staging' and not sshd_keyhelper %}
|
||||
AuthorizedKeysCommandUser git
|
||||
AuthorizedKeysCommand /usr/libexec/pagure/keyhelper.py "%u" "%h" "%t" "%f"
|
||||
{% elif %}
|
||||
AuthorizedKeysCommandUser nobody
|
||||
AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user