second part about permit options

This commit is contained in:
Florz 2021-02-18 23:47:47 +01:00
parent 1edf4b527c
commit 8d75c7d77e
1 changed files with 3 additions and 1 deletions

View File

@ -58,4 +58,6 @@ The `permitopen` and `permitlisten` options can be used multiple times in a row.
* `host` specifies on which interface the server should listen for incoming connections. You should either specify `localhost` or `*`
* `localhost` binds the port to the loopback device and can only be used by processes on the same server
* `*` allows access on all ports (e.g. from the Internet) if `GatewayPorts clientspecified` is set in `/etc/ssh/sshd_config`
* `permitopen="host:port"`
* `permitopen="host:port"`
* `host` is the hostname or IP address of the server that your server should be allowed to connect to
* `port` is the port number on the `host` that should be allowed to be forwarded to the client