diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2005-05-20 10:55:10 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2005-05-20 10:55:10 +0000 |
commit | 7d5f47980083845858c98a63fb42d548f2ed9558 (patch) | |
tree | df097488a55c376f732a395fe6e813630485770b | |
parent | 8d8a056a42bd32019f98f3c1c868c7a5c5f8e986 (diff) |
cross reference proxy example to relevant ssh option;
originally from ray; help/ok djm@
-rw-r--r-- | usr.bin/nc/nc.1 | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/usr.bin/nc/nc.1 b/usr.bin/nc/nc.1 index 64a09ec7f21..c82e6efe4ab 100644 --- a/usr.bin/nc/nc.1 +++ b/usr.bin/nc/nc.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: nc.1,v 1.37 2005/02/21 10:56:22 jmc Exp $ +.\" $OpenBSD: nc.1,v 1.38 2005/05/20 10:55:09 jmc Exp $ .\" .\" Copyright (c) 1996 David Sacerdote .\" All rights reserved. @@ -375,11 +375,19 @@ Create and listen on a Unix Domain Socket: .Dl $ nc -lU /var/tmp/dsocket .Pp Connect to port 42 of host.example.com via an HTTP proxy at 10.2.3.4, -port 8080: +port 8080. +This example could also be used by +.Xr ssh 1 ; +see the +.Cm ProxyCommand +directive in +.Xr ssh_config 5 +for more information. .Pp .Dl $ nc -x10.2.3.4:8080 -Xconnect host.example.com 42 .Sh SEE ALSO -.Xr cat 1 +.Xr cat 1 , +.Xr ssh 1 .Sh AUTHORS Original implementation by *Hobbit* .Aq hobbit@avian.org . |