@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Rename example sshd files

Test Plan: Looked at new files, made sure the only changes were to rename the files in line with the documentation

Reviewers: O1 Blessed Committers, eax

Reviewed By: O1 Blessed Committers, eax

Subscribers: speck, tobiaswiese

Maniphest Tasks: T15017

Differential Revision: https://we.phorge.it/D25010

+16 -16
-14
resources/sshd/phabricator-ssh-hook.sh
··· 1 - #!/bin/sh 2 - 3 - # NOTE: Replace this with the username that you expect users to connect with. 4 - VCSUSER="vcs-user" 5 - 6 - # NOTE: Replace this with the path to your Phabricator directory. 7 - ROOT="/path/to/phabricator" 8 - 9 - if [ "$1" != "$VCSUSER" ]; 10 - then 11 - exit 1 12 - fi 13 - 14 - exec "$ROOT/bin/ssh-auth" $@
+14
resources/sshd/phorge-ssh-hook.sh
··· 1 + #!/bin/sh 2 + 3 + # NOTE: Replace this with the username that you expect users to connect with. 4 + VCSUSER="vcs-user" 5 + 6 + # NOTE: Replace this with the path to your Phorge directory. 7 + ROOT="/path/to/phorge" 8 + 9 + if [ "$1" != "$VCSUSER" ]; 10 + then 11 + exit 1 12 + fi 13 + 14 + exec "$ROOT/bin/ssh-auth" $@
+2 -2
resources/sshd/sshd_config.phabricator.example resources/sshd/sshd_config.phorge.example
··· 3 3 4 4 # NOTE: Edit these to the correct values for your setup. 5 5 6 - AuthorizedKeysCommand /usr/libexec/phabricator-ssh-hook.sh 6 + AuthorizedKeysCommand /usr/libexec/phorge-ssh-hook.sh 7 7 AuthorizedKeysCommandUser vcs-user 8 8 AllowUsers vcs-user 9 9 ··· 21 21 ChallengeResponseAuthentication no 22 22 AuthorizedKeysFile none 23 23 24 - PidFile /var/run/sshd-phabricator.pid 24 + PidFile /var/run/sshd-phorge.pid