Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2896470
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
205 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
=
"git"
ROOT
=
"/srv/phorge/phorge"
if
[
"
$1
"
!
=
"
$VCSUSER
"
]
;
then
exit
1
fi
exec
"
$ROOT
/bin/ssh-auth"
$@
File Metadata
Details
Attached
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)
Attached To
Mode
R13 DeepClone
Attached
Detach File
Event Timeline
Log In to Comment