mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 16:22:43 +01:00
Documentation: fix unexisting path sshd_config.phabricator.example
Summary: Since the example file was renamed, this change makes the documentation consistent with it. Also we added exactly one-space somewhere, to create a super-satisfying indentation an example block. You're welcome. Ref T15006 Test Plan: Check that the documentation is at least 0.000001% better now. Reviewers: O1 Blessed Committers, avivey Reviewed By: O1 Blessed Committers, avivey Subscribers: tobiaswiese, Matthew, Cigaryno Maniphest Tasks: T15006 Differential Revision: https://we.phorge.it/D25410
This commit is contained in:
parent
8876f75fbb
commit
3cc5ee6a33
1 changed files with 2 additions and 2 deletions
|
@ -360,13 +360,13 @@ be owned by `root`, and the script must have `755` permissions:
|
||||||
```
|
```
|
||||||
$ sudo chown root /path/to/somewhere/
|
$ sudo chown root /path/to/somewhere/
|
||||||
$ sudo chown root /path/to/somewhere/phorge-ssh-hook.sh
|
$ sudo chown root /path/to/somewhere/phorge-ssh-hook.sh
|
||||||
$ sudo chmod 755 /path/to/somewhere/phorge-ssh-hook.sh
|
$ sudo chmod 755 /path/to/somewhere/phorge-ssh-hook.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
If you don't do this, `sshd` will refuse to execute the hook.
|
If you don't do this, `sshd` will refuse to execute the hook.
|
||||||
|
|
||||||
**Create `sshd_config` for Phorge**: Copy the template in
|
**Create `sshd_config` for Phorge**: Copy the template in
|
||||||
`phorge/resources/sshd/sshd_config.phabricator.example` to somewhere like
|
`phorge/resources/sshd/sshd_config.phorge.example` to somewhere like
|
||||||
`/etc/ssh/sshd_config.phorge`.
|
`/etc/ssh/sshd_config.phorge`.
|
||||||
|
|
||||||
Open the file and edit the `AuthorizedKeysCommand`,
|
Open the file and edit the `AuthorizedKeysCommand`,
|
||||||
|
|
Loading…
Reference in a new issue