docs: update "Permissions"

This commit is contained in:
Ryo Ota 2023-08-10 03:35:35 +09:00
parent 54b502d3ae
commit 9af7dd047f

View file

@ -41,15 +41,13 @@ handy-sshd --unix-socket /tmp/my-unix-socket --user "john:"
``` ```
## Permissions ## Permissions
There are some permissions. **All permissions are allowed when nothing is specified.** There are some permissions.
* --allow-direct-tcpip * --allow-direct-tcpip
* --allow-execute * --allow-execute
* --allow-sftp * --allow-sftp
* --allow-tcpip-forward * --allow-tcpip-forward
All permissions are allowed when nothing is specified. Specifying `--allow-direct-tcpip` and `--allow-execute` for example allows only them.
Specifying `--allow-direct-tcpip` and `--allow-execute` allows only "direct-tcpip" and command executions.
The log shows "allowed: " and "NOT allowed: " permissions as follows. The log shows "allowed: " and "NOT allowed: " permissions as follows.
```console ```console