mirror of
https://github.com/nwtgck/handy-sshd.git
synced 2025-06-07 22:53:05 +00:00
docs: update "Permissions"
This commit is contained in:
parent
54b502d3ae
commit
9af7dd047f
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue