summaryrefslogtreecommitdiff
path: root/bin/authorized_keys
blob: 206a17dc0b5dec732e35b18b341100d2463fd6d8 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# Legacy script used for AuthorizedKeysCommand when configured without username.
# Executes gitlab-shell-authorized-keys-check with "git" as expected and actual
# username and with the passed key.
#
# TODO: Remove this in https://gitlab.com/gitlab-org/gitlab-shell/issues/209.

$(dirname $0)/gitlab-shell-authorized-keys-check git git $1