aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/etc/ssh/sshd_config.d/gitolite.conf.git_server
blob: 33b928239aedaf873d315c3a27c6bd83beb0b785 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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