From 2b610872d20dff2fefae55b44377f6063c44badc Mon Sep 17 00:00:00 2001 From: djm Date: Thu, 26 May 2005 02:13:56 +0000 Subject: [PATCH] - 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 | 3 +++ ssh_config.5 | 11 ++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c282a0d9..844d61ec 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] diff --git a/ssh_config.5 b/ssh_config.5 index d98246aa..52a8dff4 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 -- 2.45.1