diff options
author | jmc <> | 2005-05-20 10:55:09 +0000 |
---|---|---|
committer | jmc <> | 2005-05-20 10:55:09 +0000 |
commit | 296b05c05bf89b6af555117787f6627f7930107b (patch) | |
tree | 061e4f0f8743126baffd27749b03382ac3326b04 /src/usr.bin/nc/nc.1 | |
parent | 947c7cbd07e8b5a4e7a6dc717314407764e5e1fb (diff) | |
download | openbsd-296b05c05bf89b6af555117787f6627f7930107b.tar.gz openbsd-296b05c05bf89b6af555117787f6627f7930107b.tar.bz2 openbsd-296b05c05bf89b6af555117787f6627f7930107b.zip |
cross reference proxy example to relevant ssh option;
originally from ray; help/ok djm@
Diffstat (limited to 'src/usr.bin/nc/nc.1')
-rw-r--r-- | src/usr.bin/nc/nc.1 | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1 index 64a09ec7f2..c82e6efe4a 100644 --- a/src/usr.bin/nc/nc.1 +++ b/src/usr.bin/nc/nc.1 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: nc.1,v 1.37 2005/02/21 10:56:22 jmc Exp $ | 1 | .\" $OpenBSD: nc.1,v 1.38 2005/05/20 10:55:09 jmc Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1996 David Sacerdote | 3 | .\" Copyright (c) 1996 David Sacerdote |
4 | .\" All rights reserved. | 4 | .\" All rights reserved. |
@@ -375,11 +375,19 @@ Create and listen on a Unix Domain Socket: | |||
375 | .Dl $ nc -lU /var/tmp/dsocket | 375 | .Dl $ nc -lU /var/tmp/dsocket |
376 | .Pp | 376 | .Pp |
377 | Connect to port 42 of host.example.com via an HTTP proxy at 10.2.3.4, | 377 | Connect to port 42 of host.example.com via an HTTP proxy at 10.2.3.4, |
378 | port 8080: | 378 | port 8080. |
379 | This example could also be used by | ||
380 | .Xr ssh 1 ; | ||
381 | see the | ||
382 | .Cm ProxyCommand | ||
383 | directive in | ||
384 | .Xr ssh_config 5 | ||
385 | for more information. | ||
379 | .Pp | 386 | .Pp |
380 | .Dl $ nc -x10.2.3.4:8080 -Xconnect host.example.com 42 | 387 | .Dl $ nc -x10.2.3.4:8080 -Xconnect host.example.com 42 |
381 | .Sh SEE ALSO | 388 | .Sh SEE ALSO |
382 | .Xr cat 1 | 389 | .Xr cat 1 , |
390 | .Xr ssh 1 | ||
383 | .Sh AUTHORS | 391 | .Sh AUTHORS |
384 | Original implementation by *Hobbit* | 392 | Original implementation by *Hobbit* |
385 | .Aq hobbit@avian.org . | 393 | .Aq hobbit@avian.org . |