author | wenzelm |
Wed, 25 Sep 2019 20:12:20 +0200 | |
changeset 70758 | 5094098f5e0c |
parent 70750 | 07673e7cb5e6 |
permissions | -rw-r--r-- |
70750 | 1 |
# NOTE: You must have OpenSSHD 6.2 or newer; support for AuthorizedKeysCommand |
2 |
# was added in this version. |
|
3 |
||
4 |
# NOTE: Edit these to the correct values for your setup. |
|
5 |
||
6 |
AuthorizedKeysCommand /usr/local/bin/ssh-hook |
|
7 |
AuthorizedKeysCommandUser vcs |
|
8 |
AllowUsers vcs |
|
9 |
||
10 |
# You may need to tweak these options, but mostly they just turn off everything |
|
11 |
# dangerous. |
|
12 |
||
70758
5094098f5e0c
clarified sshd setup: standard service on non-standard port 222, special "vcs" service on standard port 22;
wenzelm
parents:
70750
diff
changeset
|
13 |
Port 22 |
70750 | 14 |
Protocol 2 |
15 |
PermitRootLogin no |
|
16 |
AllowAgentForwarding no |
|
17 |
AllowTcpForwarding no |
|
18 |
PrintMotd no |
|
19 |
PrintLastLog no |
|
20 |
PasswordAuthentication no |
|
21 |
ChallengeResponseAuthentication no |
|
22 |
AuthorizedKeysFile none |
|
23 |
||
24 |
PidFile /var/run/sshd-phabricator.pid |