changeset 9939:fbec1ef95a5b

PSARC 2009/353 ssh config update 6830483 remove "AllowTcpForwarding=no" from /etc/ssh/sshd_config
author Huie-Ying Lee <Huie-Ying.Lee@Sun.COM>
date Mon, 22 Jun 2009 15:14:40 -0700
parents f342fbb900db
children 82fa1538a908
files usr/src/cmd/ssh/etc/sshd_config
diffstat 1 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/cmd/ssh/etc/sshd_config	Mon Jun 22 14:46:46 2009 -0700
+++ b/usr/src/cmd/ssh/etc/sshd_config	Mon Jun 22 15:14:40 2009 -0700
@@ -2,7 +2,7 @@
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# Configuration file for sshd(1m)
+# Configuration file for sshd(1m) (see also sshd_config(4))
 
 # Protocol versions supported
 #
@@ -39,10 +39,8 @@
 # IPv4 & IPv6
 ListenAddress ::
 
-# Port forwarding
-AllowTcpForwarding no
-
-# If port forwarding is enabled, specify if the server can bind to INADDR_ANY. 
+# If port forwarding is enabled (default), specify if the server can bind to
+# INADDR_ANY. 
 # This allows the local port forwarding to work when connections are received
 # from any remote host.
 GatewayPorts no