summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
authordjm <djm>2005-05-26 02:13:56 +0000
committerdjm <djm>2005-05-26 02:13:56 +0000
commitdcf50e14d423a64b7da1f1b9c18cedbdab615e4e (patch)
tree5244746b529cfb88ceb38b9a3de2fea46c9d9bf3 /ssh_config.5
parentbbb8d641719fef19cbed35c4198962628907bc47 (diff)
downloadopenssh-dcf50e14d423a64b7da1f1b9c18cedbdab615e4e.tar.gz
- djm@cvs.openbsd.org 2005/05/20 10:50:55
[ssh_config.5] give a ProxyCommand example using nc(1), with and ok jmc@
Diffstat (limited to 'ssh_config.5')
-rw-r--r--ssh_config.511
1 files changed, 10 insertions, 1 deletions
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