summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2005-05-20 10:50:56 +0000
committerDamien Miller <djm@cvs.openbsd.org>2005-05-20 10:50:56 +0000
commit8d8a056a42bd32019f98f3c1c868c7a5c5f8e986 (patch)
tree4d1c9b0ccc3cb275eab06844b790d296b973b759
parentbd206b9485b096efea5d0b3500ad11a7460b66f5 (diff)
give a ProxyCommand example using nc(1), with and ok jmc@
-rw-r--r--usr.bin/ssh/ssh_config.511
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh_config.5 b/usr.bin/ssh/ssh_config.5
index d98246aa469..52a8dff4c6b 100644
--- a/usr.bin/ssh/ssh_config.5
+++ b/usr.bin/ssh/ssh_config.5
@@ -34,7 +34,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $OpenBSD: ssh_config.5,v 1.51 2005/04/26 13:08:37 jakob Exp $
+.\" $OpenBSD: ssh_config.5,v 1.52 2005/05/20 10:50:55 djm Exp $
.Dd September 25, 1999
.Dt SSH_CONFIG 5
.Os
@@ -621,6 +621,15 @@ Note that
.Cm CheckHostIP
is not available for connects with a proxy command.
.Pp
+This directive is useful in conjunction with
+.Xr nc 1
+and its proxy support.
+For example, the following directive would connect via a HTTP proxy at
+192.0.2.0:
+.Bd -literal -offset 3n
+ProxyCommand /usr/bin/nc -X connect -x 192.0.2.0:8080 %h %p
+.Ed
+.Pp
.It Cm PubkeyAuthentication
Specifies whether to try public key authentication.
The argument to this keyword must be