- 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@
This commit is contained in:
Darren Tucker 2005-03-31 21:31:10 +10:00
parent 6e1defdc5a
commit 5ede2ad8a7
2 changed files with 27 additions and 26 deletions

View File

@ -1,3 +1,12 @@
20050331
- (dtucker) OpenBSD CVS Sync
- 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@
20050329 20050329
- (dtucker) [contrib/aix/buildbff.sh] Bug #1005: Look up only the user we're - (dtucker) [contrib/aix/buildbff.sh] Bug #1005: Look up only the user we're
interested in which is much faster in large (eg LDAP or NIS) environments. interested in which is much faster in large (eg LDAP or NIS) environments.
@ -2387,4 +2396,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3728 2005/03/29 13:24:12 dtucker Exp $ $Id: ChangeLog,v 1.3729 2005/03/31 11:31:10 dtucker Exp $

View File

@ -34,7 +34,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" 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 .Dd September 25, 1999
.Dt SSH_CONFIG 5 .Dt SSH_CONFIG 5
.Os .Os
@ -495,21 +495,17 @@ The default is to use the server specified list.
.It Cm LocalForward .It Cm LocalForward
Specifies that a TCP/IP port on the local machine be forwarded over 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 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 The first argument must be
.Xo
.Sm off .Sm off
.Oo Ar bind_address : Oc .Oo Ar bind_address : Oc Ar port
.Ar host : port
.Sm on .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 IPv6 addresses can be specified by enclosing addresses in square brackets or
by using an alternative syntax: by using an alternative syntax:
.Sm off .Oo Ar bind_address Ns / Oc Ns Ar port
.Xo and
.Op Ar bind_address No / .Ar host Ns / Ns Ar hostport .
.Ar host No / Ar port
.Xc .
.Sm on
Multiple forwardings may be specified, and additional forwardings can be Multiple forwardings may be specified, and additional forwardings can be
given on the command line. given on the command line.
Only the superuser can forward privileged ports. Only the superuser can forward privileged ports.
@ -632,21 +628,17 @@ This option applies to protocol version 2 only.
.It Cm RemoteForward .It Cm RemoteForward
Specifies that a TCP/IP port on the remote machine be forwarded over 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 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 The first argument must be
.Xo
.Sm off .Sm off
.Oo Ar bind_address : Oc .Oo Ar bind_address : Oc Ar port
.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 .
.Sm on .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 Multiple forwardings may be specified, and additional
forwardings can be given on the command line. forwardings can be given on the command line.
Only the superuser can forward privileged ports. Only the superuser can forward privileged ports.