diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-09-12 18:01:59 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-09-12 18:01:59 +0000 |
commit | 62c25a43dbdd0dddb872b997a6f82b4f73c79180 (patch) | |
tree | 0a5d0795005280afe180e6e145c7614ead6aff19 /ssh.1 | |
parent | 6e69d532dc23ae8df9cb030427deb90851326333 (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.1 | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -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 |
945 | Specifies that a TCP/IP port on the local machine be forwarded over | 945 | Specifies that a TCP/IP port on the local machine be forwarded over |
946 | the secure channel to given host:port from the remote machine. | 946 | the secure channel to the specified host and port from the remote machine. |
947 | The first argument must be a port number, and the second must be | 947 | The first argument must be a port number, and the second must be |
948 | host:port. | 948 | .Ar host:port . |
949 | IPv6 addresses can be specified with an alternative syntax: | ||
950 | .Ar host/port . | ||
949 | Multiple forwardings may be specified, and additional | 951 | Multiple forwardings may be specified, and additional |
950 | forwardings can be given on the command line. | 952 | forwardings can be given on the command line. |
951 | Only the superuser can forward privileged ports. | 953 | Only the superuser can forward privileged ports. |
@@ -1037,9 +1039,11 @@ The default is | |||
1037 | This option applies to protocol version 2 only. | 1039 | This option applies to protocol version 2 only. |
1038 | .It Cm RemoteForward | 1040 | .It Cm RemoteForward |
1039 | Specifies that a TCP/IP port on the remote machine be forwarded over | 1041 | Specifies that a TCP/IP port on the remote machine be forwarded over |
1040 | the secure channel to given host:port from the local machine. | 1042 | the secure channel to the specified host and port from the local machine. |
1041 | The first argument must be a port number, and the second must be | 1043 | The first argument must be a port number, and the second must be |
1042 | host:port. | 1044 | .Ar host:port . |
1045 | IPv6 addresses can be specified with an alternative syntax: | ||
1046 | .Ar host/port . | ||
1043 | Multiple forwardings may be specified, and additional | 1047 | Multiple forwardings may be specified, and additional |
1044 | forwardings can be given on the command line. | 1048 | forwardings can be given on the command line. |
1045 | Only the superuser can forward privileged ports. | 1049 | Only the superuser can forward privileged ports. |