summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2018-06-06 18:24:16 +0000
committerDamien Miller <djm@cvs.openbsd.org>2018-06-06 18:24:16 +0000
commitb897bc6202ce771b09b41e8f1f7f2f5f2e4deba5 (patch)
tree186960f5462f405508d24fb6f378269c194092f5 /usr.bin
parentc14eb46f396795b83bde06beec116e99e3676c51 (diff)
man bits for permitlisten authorized_keys option
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/sshd.823
1 files changed, 20 insertions, 3 deletions
diff --git a/usr.bin/ssh/sshd.8 b/usr.bin/ssh/sshd.8
index d5877bbeacc..3d1c28a9f5f 100644
--- a/usr.bin/ssh/sshd.8
+++ b/usr.bin/ssh/sshd.8
@@ -33,8 +33,8 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $OpenBSD: sshd.8,v 1.299 2018/03/14 06:56:20 jmc Exp $
-.Dd $Mdocdate: March 14 2018 $
+.\" $OpenBSD: sshd.8,v 1.300 2018/06/06 18:24:15 djm Exp $
+.Dd $Mdocdate: June 6 2018 $
.Dt SSHD 8
.Os
.Sh NAME
@@ -527,11 +527,28 @@ Disables execution of
.It Cm no-X11-forwarding
Forbids X11 forwarding when this key is used for authentication.
Any X11 forward requests by the client will return an error.
+.It Cm permitlisten="host:port"
+Limit remote port forwarding with
+.Xr ssh 1
+.Fl R
+option such that it may only listen on the specified host and port.
+IPv6 addresses can be specified by enclosing the address in square brackets.
+Multiple
+.Cm permitlisten
+options may be applied separated by commas.
+Hostnames may include wildcards as described in the PATTERNS section in
+.Xr ssh_config 5 .
+A port specification of
+.Cm *
+matches any port.
+Note that the setting of
+.Cm GatewayPorts
+may further restrict listen addresses.
.It Cm permitopen="host:port"
Limit local port forwarding with
.Xr ssh 1
.Fl L
-such that it may only connect to the specified host and port.
+option such that it may only connect to the specified host and port.
IPv6 addresses can be specified by enclosing the address in square brackets.
Multiple
.Cm permitopen