summaryrefslogtreecommitdiff
path: root/sshd_config.5
diff options
context:
space:
mode:
authorjmc@openbsd.org <jmc@openbsd.org>2016-09-07 18:39:24 +0000
committerDarren Tucker <dtucker@zip.com.au>2016-09-12 13:39:30 +1000
commitf219fc8f03caca7ac82a38ed74bbd6432a1195e7 (patch)
treecec17bb8c141190c94a6c843b16c1cabf13c1244 /sshd_config.5
parent06ce56b05def9460aecc7cdb40e861a346214793 (diff)
upstream commit
sort; from matthew martin Upstream-ID: 73cec7f7ecc82d37a4adffad7745e4684de67ce7
Diffstat (limited to 'sshd_config.5')
-rw-r--r--sshd_config.536
1 files changed, 18 insertions, 18 deletions
diff --git a/sshd_config.5 b/sshd_config.5
index fe3b23d6e..a4d1ca000 100644
--- a/sshd_config.5
+++ b/sshd_config.5
@@ -33,8 +33,8 @@
33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: sshd_config.5,v 1.230 2016/08/19 03:18:07 djm Exp $ 36.\" $OpenBSD: sshd_config.5,v 1.231 2016/09/07 18:39:24 jmc Exp $
37.Dd $Mdocdate: August 19 2016 $ 37.Dd $Mdocdate: September 7 2016 $
38.Dt SSHD_CONFIG 5 38.Dt SSHD_CONFIG 5
39.Os 39.Os
40.Sh NAME 40.Sh NAME
@@ -123,15 +123,15 @@ and finally
123See PATTERNS in 123See PATTERNS in
124.Xr ssh_config 5 124.Xr ssh_config 5
125for more information on patterns. 125for more information on patterns.
126.It Cm AllowTcpForwarding 126.It Cm AllowStreamLocalForwarding
127Specifies whether TCP forwarding is permitted. 127Specifies whether StreamLocal (Unix-domain socket) forwarding is permitted.
128The available options are 128The available options are
129.Dq yes 129.Dq yes
130or 130or
131.Dq all 131.Dq all
132to allow TCP forwarding, 132to allow StreamLocal forwarding,
133.Dq no 133.Dq no
134to prevent all TCP forwarding, 134to prevent all StreamLocal forwarding,
135.Dq local 135.Dq local
136to allow local (from the perspective of 136to allow local (from the perspective of
137.Xr ssh 1 ) 137.Xr ssh 1 )
@@ -140,18 +140,18 @@ forwarding only or
140to allow remote forwarding only. 140to allow remote forwarding only.
141The default is 141The default is
142.Dq yes . 142.Dq yes .
143Note that disabling TCP forwarding does not improve security unless 143Note that disabling StreamLocal forwarding does not improve security unless
144users are also denied shell access, as they can always install their 144users are also denied shell access, as they can always install their
145own forwarders. 145own forwarders.
146.It Cm AllowStreamLocalForwarding 146.It Cm AllowTcpForwarding
147Specifies whether StreamLocal (Unix-domain socket) forwarding is permitted. 147Specifies whether TCP forwarding is permitted.
148The available options are 148The available options are
149.Dq yes 149.Dq yes
150or 150or
151.Dq all 151.Dq all
152to allow StreamLocal forwarding, 152to allow TCP forwarding,
153.Dq no 153.Dq no
154to prevent all StreamLocal forwarding, 154to prevent all TCP forwarding,
155.Dq local 155.Dq local
156to allow local (from the perspective of 156to allow local (from the perspective of
157.Xr ssh 1 ) 157.Xr ssh 1 )
@@ -160,7 +160,7 @@ forwarding only or
160to allow remote forwarding only. 160to allow remote forwarding only.
161The default is 161The default is
162.Dq yes . 162.Dq yes .
163Note that disabling StreamLocal forwarding does not improve security unless 163Note that disabling TCP forwarding does not improve security unless
164users are also denied shell access, as they can always install their 164users are also denied shell access, as they can always install their
165own forwarders. 165own forwarders.
166.It Cm AllowUsers 166.It Cm AllowUsers
@@ -1223,6 +1223,12 @@ All other authentication methods are disabled for root.
1223If this option is set to 1223If this option is set to
1224.Dq no , 1224.Dq no ,
1225root is not allowed to log in. 1225root is not allowed to log in.
1226.It Cm PermitTTY
1227Specifies whether
1228.Xr pty 4
1229allocation is permitted.
1230The default is
1231.Dq yes .
1226.It Cm PermitTunnel 1232.It Cm PermitTunnel
1227Specifies whether 1233Specifies whether
1228.Xr tun 4 1234.Xr tun 4
@@ -1246,12 +1252,6 @@ The default is
1246Independent of this setting, the permissions of the selected 1252Independent of this setting, the permissions of the selected
1247.Xr tun 4 1253.Xr tun 4
1248device must allow access to the user. 1254device must allow access to the user.
1249.It Cm PermitTTY
1250Specifies whether
1251.Xr pty 4
1252allocation is permitted.
1253The default is
1254.Dq yes .
1255.It Cm PermitUserEnvironment 1255.It Cm PermitUserEnvironment
1256Specifies whether 1256Specifies whether
1257.Pa ~/.ssh/environment 1257.Pa ~/.ssh/environment