basessh: in stg setup sssd/ipa to handle ssh keys

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2021-01-18 15:51:28 -08:00
parent 98d6571ea2
commit 68ae773dc6

View file

@ -54,6 +54,9 @@ AcceptEnv XMODIFIERS
# For repospanner/git
AuthorizedKeysCommandUser git
AuthorizedKeysCommand /usr/libexec/pagure/keyhelper.py "%u" "%h" "%t" "%f"
{% elif env == 'staging' and not sshd_keyhelper %}
AuthorizedKeysCommandUser nobody
AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys
{% endif %}