distgit: start working on moving dist-git to use git@ for ssh
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
08feacbdce
commit
a3677b36a1
2 changed files with 7 additions and 3 deletions
|
@ -51,9 +51,10 @@ AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
|
|||
AcceptEnv XMODIFIERS
|
||||
|
||||
{% if sshd_keyhelper %}
|
||||
# For repospanner/git
|
||||
AuthorizedKeysCommandUser git
|
||||
AuthorizedKeysCommand /usr/libexec/pagure/keyhelper.py "%u" "%h" "%t" "%f"
|
||||
# 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 nobody
|
||||
AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue