summaryrefslogtreecommitdiffstats
path: root/ssh_config.5
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-03-31 13:31:10 +0200
committerDarren Tucker <dtucker@zip.com.au>2005-03-31 13:31:10 +0200
commit5ede2ad8a74a66059a2bf02ae7b4867140b67874 (patch)
treed510ea3225a3582f075392512e9d615eb96f6e73 /ssh_config.5
parent - (dtucker) [contrib/aix/buildbff.sh] Bug #1005: Look up only the user we're (diff)
downloadopenssh-5ede2ad8a74a66059a2bf02ae7b4867140b67874.tar.xz
openssh-5ede2ad8a74a66059a2bf02ae7b4867140b67874.zip
- jmc@cvs.openbsd.org 2005/03/16 11:10:38
[ssh_config.5] get the syntax right for {Local,Remote}Forward; based on a diff from markus; problem report from ponraj; ok dtucker@ markus@ deraadt@
Diffstat (limited to '')
-rw-r--r--ssh_config.542
1 files changed, 17 insertions, 25 deletions
diff --git a/ssh_config.5 b/ssh_config.5
index dc6d6746f..b35753307 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -34,7 +34,7 @@
.\" (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: ssh_config.5,v 1.48 2005/03/12 11:55:03 jmc Exp $
+.\" $OpenBSD: ssh_config.5,v 1.49 2005/03/16 11:10:38 jmc Exp $
.Dd September 25, 1999
.Dt SSH_CONFIG 5
.Os
@@ -495,21 +495,17 @@ The default is to use the server specified list.
.It Cm LocalForward
Specifies that a TCP/IP port on the local machine be forwarded over
the secure channel to the specified host and port from the remote machine.
-The first argument must be a port number, and the second must be
-.Xo
+The first argument must be
.Sm off
-.Oo Ar bind_address : Oc
-.Ar host : port
+.Oo Ar bind_address : Oc Ar port
.Sm on
-.Xc .
+and the second argument must be
+.Ar host : Ns Ar hostport .
IPv6 addresses can be specified by enclosing addresses in square brackets or
by using an alternative syntax:
-.Sm off
-.Xo
-.Op Ar bind_address No /
-.Ar host No / Ar port
-.Xc .
-.Sm on
+.Oo Ar bind_address Ns / Oc Ns Ar port
+and
+.Ar host Ns / Ns Ar hostport .
Multiple forwardings may be specified, and additional forwardings can be
given on the command line.
Only the superuser can forward privileged ports.
@@ -632,21 +628,17 @@ This option applies to protocol version 2 only.
.It Cm RemoteForward
Specifies that a TCP/IP port on the remote machine be forwarded over
the secure channel to the specified host and port from the local machine.
-The first argument must be a port number, and the second must be
-.Xo
+The first argument must be
.Sm off
-.Oo Ar bind_address : Oc
-.Ar host : port
-.Sm on
-.Xc .
-IPv6 addresses can be specified by enclosing any addresses in square brackets
-or by using the alternative syntax:
-.Sm off
-.Xo
-.Op Ar bind_address No /
-.Ar host No / Ar port
-.Xc .
+.Oo Ar bind_address : Oc Ar port
.Sm on
+and the second argument must be
+.Ar host : Ns Ar hostport .
+IPv6 addresses can be specified by enclosing addresses in square brackets
+or by using an alternative syntax:
+.Oo Ar bind_address Ns / Oc Ns Ar port
+and
+.Ar host Ns / Ns Ar hostport .
Multiple forwardings may be specified, and additional
forwardings can be given on the command line.
Only the superuser can forward privileged ports.