summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/fs/etc/ssh/sshd_config.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/public/fs/etc/ssh/sshd_config.in b/public/fs/etc/ssh/sshd_config.in
index e50456b..ac7684a 100644
--- a/public/fs/etc/ssh/sshd_config.in
+++ b/public/fs/etc/ssh/sshd_config.in
@@ -40,3 +40,9 @@ Subsystem sftp /usr/lib/ssh/sftp-server
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
AcceptEnv LC_IDENTIFICATION LC_ALL
+
+
+# pagure
+Match User git
+ AuthorizedKeysCommand /usr/lib/pagure/keyhelper.py "%u" "%h" "%t" "%f"
+ AuthorizedKeysCommandUser git