Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2893091
phorge-ssh-hook.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
268 B
Referenced Files
None
Subscribers
None
phorge-ssh-hook.sh
View Options
#!/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
Details
Attached
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)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment