Changeset View
Changeset View
Standalone View
Standalone View
resources/sshd/sshd_config.phabricator.example
| # NOTE: You must have OpenSSHD 6.2 or newer; support for AuthorizedKeysCommand | # NOTE: You must have OpenSSHD 6.2 or newer; support for AuthorizedKeysCommand | ||||
| # was added in this version. | # was added in this version. | ||||
| # NOTE: Edit these to the correct values for your setup. | # 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 | AuthorizedKeysCommandUser vcs-user | ||||
| AllowUsers vcs-user | AllowUsers vcs-user | ||||
| # You may need to tweak these options, but mostly they just turn off everything | # You may need to tweak these options, but mostly they just turn off everything | ||||
| # dangerous. | # dangerous. | ||||
| Port 2222 | Port 2222 | ||||
| Protocol 2 | Protocol 2 | ||||
| Show All 10 Lines | |||||