Page MenuHomestyx hydra

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
Thu, Feb 6, 1:35 AM (8 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33776
Default Alt Text
phorge-ssh-hook.sh (268 B)

Event Timeline