summaryrefslogtreecommitdiff
path: root/ssh.1
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2010-01-12 19:40:27 +1100
committerDarren Tucker <dtucker@zip.com.au>2010-01-12 19:40:27 +1100
commit7ad8dd21da5e2a2687fdff14142b70f1587f96ce (patch)
tree5d8e196d1a258b7dc837ae529e4d945d30014aaf /ssh.1
parent43551527dc1cc9f18561c4816960440de2ce289b (diff)
- dtucker@cvs.openbsd.org 2010/01/11 01:39:46
[ssh_config channels.c ssh.1 channels.h ssh.c] Add a 'netcat mode' (ssh -W). This connects stdio on the client to a single port forward on the server. This allows, for example, using ssh as a ProxyCommand to route connections via intermediate servers. bz #1618, man page help from jmc@, ok markus@
Diffstat (limited to 'ssh.1')
-rw-r--r--ssh.120
1 files changed, 16 insertions, 4 deletions
diff --git a/ssh.1 b/ssh.1
index 8b228fcdf..1ff2cce4d 100644
--- a/ssh.1
+++ b/ssh.1
@@ -34,8 +34,8 @@
34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36.\" 36.\"
37.\" $OpenBSD: ssh.1,v 1.289 2010/01/09 23:04:13 dtucker Exp $ 37.\" $OpenBSD: ssh.1,v 1.290 2010/01/11 01:39:46 dtucker Exp $
38.Dd $Mdocdate: January 9 2010 $ 38.Dd $Mdocdate: January 11 2010 $
39.Dt SSH 1 39.Dt SSH 1
40.Os 40.Os
41.Sh NAME 41.Sh NAME
@@ -77,12 +77,11 @@
77.Sm on 77.Sm on
78.Oc 78.Oc
79.Op Fl S Ar ctl_path 79.Op Fl S Ar ctl_path
80.Bk -words 80.Op Fl W Ar host : Ns Ar port
81.Oo Fl w Ar local_tun Ns 81.Oo Fl w Ar local_tun Ns
82.Op : Ns Ar remote_tun Oc 82.Op : Ns Ar remote_tun Oc
83.Oo Ar user Ns @ Oc Ns Ar hostname 83.Oo Ar user Ns @ Oc Ns Ar hostname
84.Op Ar command 84.Op Ar command
85.Ek
86.Sh DESCRIPTION 85.Sh DESCRIPTION
87.Nm 86.Nm
88(SSH client) is a program for logging into a remote machine and for 87(SSH client) is a program for logging into a remote machine and for
@@ -594,6 +593,19 @@ Multiple
594.Fl v 593.Fl v
595options increase the verbosity. 594options increase the verbosity.
596The maximum is 3. 595The maximum is 3.
596.It Fl W Ar host : Ns Ar port
597Requests that standard input and output on the client be forwarded to
598.Ar host
599on
600.Ar port
601over the secure channel.
602Implies
603.Fl N ,
604.Fl T ,
605.Cm ExitOnForwardFailure
606and
607.Cm ClearAllForwardings
608and works with Protocol version 2 only.
597.It Fl w Xo 609.It Fl w Xo
598.Ar local_tun Ns Op : Ns Ar remote_tun 610.Ar local_tun Ns Op : Ns Ar remote_tun
599.Xc 611.Xc