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
Jan 19 2025, 23:09 (6 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1129724
Default Alt Text
phorge-ssh-hook.sh (205 B)

Event Timeline