Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15555257
D21445.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
769 B
Referenced Files
None
Subscribers
None
D21445.id.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 29, 10:33 AM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7371418
Default Alt Text
D21445.id.diff (769 B)
Attached To
Mode
D21445: Change sshd templates so they use the new ssh-auth syntax
Attached
Detach File
Event Timeline
Log In to Comment