Page MenuHomePhorge

phorge-ssh-hook.sh
No OneTemporary

phorge-ssh-hook.sh

#!/bin/sh
# NOTE: Replace this with the username that you expect users to connect with.
VCSUSER="git"
ROOT="/srv/phorge/phorge"
if [ "$1" != "$VCSUSER" ];
then
exit 1
fi
exec "$ROOT/bin/ssh-auth" $@

File Metadata

Mime Type
text/x-shellscript
Expires
Sun, May 11, 07:26 (19 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1129724
Default Alt Text
phorge-ssh-hook.sh (205 B)

Event Timeline