summaryrefslogtreecommitdiff
path: root/ssh.1
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-09-12 18:01:59 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-09-12 18:01:59 +0000
commit62c25a43dbdd0dddb872b997a6f82b4f73c79180 (patch)
tree0a5d0795005280afe180e6e145c7614ead6aff19 /ssh.1
parent6e69d532dc23ae8df9cb030427deb90851326333 (diff)
- stevesk@cvs.openbsd.org 2001/08/30 16:04:35
[readconf.c ssh.1] validate ports for LocalForward/RemoteForward. add host/port alternative syntax for IPv6 (like -L/-R). ok markus@
Diffstat (limited to 'ssh.1')
-rw-r--r--ssh.114
1 files changed, 9 insertions, 5 deletions
diff --git a/ssh.1 b/ssh.1
index 90e32ebd6..d7529d7a9 100644
--- a/ssh.1
+++ b/ssh.1
@@ -34,7 +34,7 @@
34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36.\" 36.\"
37.\" $OpenBSD: ssh.1,v 1.135 2001/08/30 15:42:36 naddy Exp $ 37.\" $OpenBSD: ssh.1,v 1.136 2001/08/30 16:04:35 stevesk Exp $
38.Dd September 25, 1999 38.Dd September 25, 1999
39.Dt SSH 1 39.Dt SSH 1
40.Os 40.Os
@@ -943,9 +943,11 @@ or
943.Dq no . 943.Dq no .
944.It Cm LocalForward 944.It Cm LocalForward
945Specifies that a TCP/IP port on the local machine be forwarded over 945Specifies that a TCP/IP port on the local machine be forwarded over
946the secure channel to given host:port from the remote machine. 946the secure channel to the specified host and port from the remote machine.
947The first argument must be a port number, and the second must be 947The first argument must be a port number, and the second must be
948host:port. 948.Ar host:port .
949IPv6 addresses can be specified with an alternative syntax:
950.Ar host/port .
949Multiple forwardings may be specified, and additional 951Multiple forwardings may be specified, and additional
950forwardings can be given on the command line. 952forwardings can be given on the command line.
951Only the superuser can forward privileged ports. 953Only the superuser can forward privileged ports.
@@ -1037,9 +1039,11 @@ The default is
1037This option applies to protocol version 2 only. 1039This option applies to protocol version 2 only.
1038.It Cm RemoteForward 1040.It Cm RemoteForward
1039Specifies that a TCP/IP port on the remote machine be forwarded over 1041Specifies that a TCP/IP port on the remote machine be forwarded over
1040the secure channel to given host:port from the local machine. 1042the secure channel to the specified host and port from the local machine.
1041The first argument must be a port number, and the second must be 1043The first argument must be a port number, and the second must be
1042host:port. 1044.Ar host:port .
1045IPv6 addresses can be specified with an alternative syntax:
1046.Ar host/port .
1043Multiple forwardings may be specified, and additional 1047Multiple forwardings may be specified, and additional
1044forwardings can be given on the command line. 1048forwardings can be given on the command line.
1045Only the superuser can forward privileged ports. 1049Only the superuser can forward privileged ports.