From af36da47417c1b90337a38caeb62c399f6f45a81 Mon Sep 17 00:00:00 2001 From: Matthew Bowker Date: Sun, 20 Jun 2021 22:46:02 -0600 Subject: [PATCH] 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 --- .../sshd/{phabricator-ssh-hook.sh => phorge-ssh-hook.sh} | 4 ++-- ..._config.phabricator.example => sshd_config.phorge.example} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename resources/sshd/{phabricator-ssh-hook.sh => phorge-ssh-hook.sh} (66%) rename resources/sshd/{sshd_config.phabricator.example => sshd_config.phorge.example} (84%) diff --git a/resources/sshd/phabricator-ssh-hook.sh b/resources/sshd/phorge-ssh-hook.sh similarity index 66% rename from resources/sshd/phabricator-ssh-hook.sh rename to resources/sshd/phorge-ssh-hook.sh index fc7de81dad..4e5843986e 100755 --- a/resources/sshd/phabricator-ssh-hook.sh +++ b/resources/sshd/phorge-ssh-hook.sh @@ -3,8 +3,8 @@ # NOTE: Replace this with the username that you expect users to connect with. VCSUSER="vcs-user" -# NOTE: Replace this with the path to your Phabricator directory. -ROOT="/path/to/phabricator" +# NOTE: Replace this with the path to your Phorge directory. +ROOT="/path/to/phorge" if [ "$1" != "$VCSUSER" ]; then diff --git a/resources/sshd/sshd_config.phabricator.example b/resources/sshd/sshd_config.phorge.example similarity index 84% rename from resources/sshd/sshd_config.phabricator.example rename to resources/sshd/sshd_config.phorge.example index 506d32bbbf..34c0d14d33 100644 --- a/resources/sshd/sshd_config.phabricator.example +++ b/resources/sshd/sshd_config.phorge.example @@ -3,7 +3,7 @@ # NOTE: Edit these to the correct values for your setup. -AuthorizedKeysCommand /usr/libexec/phabricator-ssh-hook.sh +AuthorizedKeysCommand /usr/libexec/phorge-ssh-hook.sh AuthorizedKeysCommandUser vcs-user AllowUsers vcs-user @@ -21,4 +21,4 @@ PasswordAuthentication no ChallengeResponseAuthentication no AuthorizedKeysFile none -PidFile /var/run/sshd-phabricator.pid +PidFile /var/run/sshd-phorge.pid