mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-09 16:32:39 +01:00
af36da4741
Test Plan: Looked at new files, made sure the only changes were to rename the files in line with the documentation Reviewers: O1 Blessed Committers, eax Reviewed By: O1 Blessed Committers, eax Subscribers: speck, tobiaswiese Maniphest Tasks: T15017 Differential Revision: https://we.phorge.it/D25010
14 lines
268 B
Bash
Executable file
14 lines
268 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# NOTE: Replace this with the username that you expect users to connect with.
|
|
VCSUSER="vcs-user"
|
|
|
|
# NOTE: Replace this with the path to your Phorge directory.
|
|
ROOT="/path/to/phorge"
|
|
|
|
if [ "$1" != "$VCSUSER" ];
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
exec "$ROOT/bin/ssh-auth" $@
|