Page MenuHomePhorge

phab.sshd_config
No OneTemporary

phab.sshd_config

# NOTE: You must have OpenSSHD 6.2 or newer; support for AuthorizedKeysCommand
# was added in this version.
# NOTE: Edit these to the correct values for your setup.
AuthorizedKeysCommand /usr/libexec/phabricator-ssh-hook.sh %u --sshd-key %k
AuthorizedKeysCommandUser wanderer
AllowUsers wanderer
# You may need to tweak these options, but mostly they just turn off everything
# dangerous.
Port 22
Protocol 2
PermitRootLogin no
AllowAgentForwarding no
AllowTcpForwarding no
PrintMotd no
PrintLastLog no
PasswordAuthentication no
AuthorizedKeysFile none
PidFile /var/run/sshd-phabricator.pid
# This was taken from sshd_config from this machine - disables DSA
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key

File Metadata

Mime Type
text/plain
Expires
Jan 19 2025, 22:57 (6 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1129631
Default Alt Text
phab.sshd_config (770 B)

Event Timeline