summaryrefslogtreecommitdiff
path: root/public/fs
diff options
context:
space:
mode:
authorroot@culturestrings <root@culturestrings>2020-05-18 09:28:29 +0000
committerroot@culturestrings <root@culturestrings>2020-05-18 09:28:29 +0000
commit1bd4fdbcea266c9e8ca1553a80206471abeda621 (patch)
treeb280064f90895f273dd9ffe08298e66a46ff32b4 /public/fs
parent11a554f79caf07fbf2fda666ae607222e0fac852 (diff)
downloadculturestrings-1bd4fdbcea266c9e8ca1553a80206471abeda621.tar.bz2
culturestrings-1bd4fdbcea266c9e8ca1553a80206471abeda621.tar.xz
pagure: git/ssh: added backend configuration in sshd_config.
Diffstat (limited to 'public/fs')
-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