From ebcfedce85310aba939049b29804bf68697c9a1f Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Thu, 26 May 2005 12:13:56 +1000 Subject: - djm@cvs.openbsd.org 2005/05/20 10:50:55 [ssh_config.5] give a ProxyCommand example using nc(1), with and ok jmc@ --- ChangeLog | 5 ++++- ssh_config.5 | 11 ++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 40b28d2d9..28a7d082f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -65,6 +65,9 @@ - djm@cvs.openbsd.org 2005/05/19 02:42:26 [includes.h] fix cast, from grunk AT pestilenz.org + - djm@cvs.openbsd.org 2005/05/20 10:50:55 + [ssh_config.5] + give a ProxyCommand example using nc(1), with and ok jmc@ 20050524 - (djm) [contrib/caldera/openssh.spec contrib/redhat/openssh.spec] @@ -2564,4 +2567,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.3780 2005/05/26 02:13:42 djm Exp $ +$Id: ChangeLog,v 1.3781 2005/05/26 02:13:56 djm Exp $ diff --git a/ssh_config.5 b/ssh_config.5 index d98246aa4..52a8dff4c 100644 --- a/ssh_config.5 +++ b/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 -- cgit v1.2.3