From 1bd4fdbcea266c9e8ca1553a80206471abeda621 Mon Sep 17 00:00:00 2001 From: "root@culturestrings" Date: Mon, 18 May 2020 09:28:29 +0000 Subject: pagure: git/ssh: added backend configuration in sshd_config. --- public/fs/etc/ssh/sshd_config.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'public') 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 -- cgit v1.2.3