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="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" $@

File Metadata

Mime Type
text/x-shellscript
Expires
Sun, Jan 19, 17:49 (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1109070
Default Alt Text
phorge-ssh-hook.sh (268 B)

Event Timeline