mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Added permitopen option to authorized_keys
It is now possible to limit local port forwarding to specified destination(s) by using the permitopen option in authorized_keys. Resolves #181
This commit is contained in:
@@ -144,6 +144,14 @@ same functionality with other means even if no-pty is set.
|
||||
.B restrict
|
||||
Applies all the no- restrictions listed above.
|
||||
|
||||
.TP
|
||||
.B permitopen=\fR"\fIhost:port\fR"
|
||||
Restrict local port forwarding so that connection is allowed only to the
|
||||
specified host and port. Multiple permitopen options separated by commas
|
||||
can be set in authorized_keys. Wildcard character ('*') may be used in
|
||||
port specification for matching any port. Hosts must be literal domain names or
|
||||
IP addresses.
|
||||
|
||||
.TP
|
||||
.B command=\fR"\fIforced_command\fR"
|
||||
Disregard the command provided by the user and always run \fIforced_command\fR.
|
||||
|
||||
Reference in New Issue
Block a user