From 5aa2283f9951b3e035824b54bd0277ebf4394ffa Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Tue, 12 Nov 2024 23:50:18 -0500 Subject: add gitolite/cgit --- .../usr/local/etc/ssh/sshd_config.d/gitolite.conf.git_server | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 files/usr/local/etc/ssh/sshd_config.d/gitolite.conf.git_server (limited to 'files/usr/local/etc/ssh/sshd_config.d/gitolite.conf.git_server') diff --git a/files/usr/local/etc/ssh/sshd_config.d/gitolite.conf.git_server b/files/usr/local/etc/ssh/sshd_config.d/gitolite.conf.git_server new file mode 100644 index 0000000..33b9282 --- /dev/null +++ b/files/usr/local/etc/ssh/sshd_config.d/gitolite.conf.git_server @@ -0,0 +1,12 @@ +Match User ${gitolite_local_user} + GSSAPIAuthentication no + KbdInteractiveAuthentication no + PasswordAuthentication no + PubkeyAuthentication yes + AuthenticationMethods publickey + AuthorizedKeysFile none + AuthorizedKeysCommand /usr/local/libexec/gitolite-authorizedkeys ${gitolite_admin_role} ${gitolite_access_role} + AuthorizedKeysCommandUser ${gitolite_local_user} + DisableForwarding yes + PermitUserRC no + PermitTTY no -- cgit v1.2.3