Page MenuHomePhabricator

D21445.diff
No OneTemporary

D21445.diff

diff --git a/resources/sshd/phabricator-ssh-hook.sh b/resources/sshd/phabricator-ssh-hook.sh
--- a/resources/sshd/phabricator-ssh-hook.sh
+++ b/resources/sshd/phabricator-ssh-hook.sh
@@ -11,4 +11,4 @@
exit 1
fi
-exec "$ROOT/bin/ssh-auth" $@
+exec "$ROOT/bin/ssh-auth" --sshd-key "$2"
diff --git a/resources/sshd/sshd_config.phabricator.example b/resources/sshd/sshd_config.phabricator.example
--- a/resources/sshd/sshd_config.phabricator.example
+++ b/resources/sshd/sshd_config.phabricator.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/phabricator-ssh-hook.sh %u %k
AuthorizedKeysCommandUser vcs-user
AllowUsers vcs-user

File Metadata

Mime Type
text/plain
Expires
Jun 1 2024, 2:17 AM (6 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6294089
Default Alt Text
D21445.diff (769 B)

Event Timeline