diff options
author | Cullum Smith <cullum@sacredheartsc.com> | 2024-11-12 23:50:18 -0500 |
---|---|---|
committer | Cullum Smith <cullum@sacredheartsc.com> | 2024-11-12 23:50:18 -0500 |
commit | 5aa2283f9951b3e035824b54bd0277ebf4394ffa (patch) | |
tree | df93cef70ce1d49576b9a98f165e8dfc6aaa52f7 /files/usr/local/etc/ssh/sshd_config.d/gitolite.conf.git_server | |
parent | 6512242bc03acf2bdaa4fea6fcc7fe51c2330f03 (diff) | |
download | infrastructure-5aa2283f9951b3e035824b54bd0277ebf4394ffa.tar.gz |
add gitolite/cgit
Diffstat (limited to 'files/usr/local/etc/ssh/sshd_config.d/gitolite.conf.git_server')
-rw-r--r-- | files/usr/local/etc/ssh/sshd_config.d/gitolite.conf.git_server | 12 |
1 files changed, 12 insertions, 0 deletions
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 |