diff options
Diffstat (limited to 'src')
| -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 . |
