Revert "basessh/distgit: adjust the way ssh is configured for distgit"

This is still being reviewed and wasn't meant to be pushed out yet

This reverts commit 67844b4504.
This commit is contained in:
Pierre-Yves Chibon 2021-04-03 19:10:43 +02:00
parent 9f335edcac
commit 00804542f3
3 changed files with 0 additions and 24 deletions

View file

@ -51,13 +51,8 @@ AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
AcceptEnv XMODIFIERS
{% if sshd_keyhelper %}
{% if inventory_hostname.startswith('pkgs') %}
AuthorizedKeysCommandUser nobody
AuthorizedKeysCommand /usr/local/bin/ssh_wrapper "%u"
{% else %}
AuthorizedKeysCommandUser git
AuthorizedKeysCommand /usr/libexec/pagure/keyhelper.py "%u" "%h" "%t" "%f"
{% endif %}
{% else %}
AuthorizedKeysCommandUser nobody
AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys