diff options
Diffstat (limited to 'ssh.1')
-rw-r--r-- | ssh.1 | 38 |
1 files changed, 25 insertions, 13 deletions
@@ -34,7 +34,7 @@ | |||
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.260 2006/05/29 16:13:23 jmc Exp $ | 37 | .\" $OpenBSD: ssh.1,v 1.261 2006/07/02 17:12:58 stevesk Exp $ |
38 | .Dd September 25, 1999 | 38 | .Dd September 25, 1999 |
39 | .Dt SSH 1 | 39 | .Dt SSH 1 |
40 | .Os | 40 | .Os |
@@ -78,7 +78,8 @@ | |||
78 | .Oc | 78 | .Oc |
79 | .Op Fl S Ar ctl_path | 79 | .Op Fl S Ar ctl_path |
80 | .Bk -words | 80 | .Bk -words |
81 | .Op Fl w Ar tunnel : Ns Ar tunnel | 81 | .Oo Fl w Ar local_tun Ns |
82 | .Op : Ns Ar remote_tun Oc | ||
82 | .Oo Ar user Ns @ Oc Ns Ar hostname | 83 | .Oo Ar user Ns @ Oc Ns Ar hostname |
83 | .Op Ar command | 84 | .Op Ar command |
84 | .Ek | 85 | .Ek |
@@ -588,24 +589,35 @@ Multiple | |||
588 | .Fl v | 589 | .Fl v |
589 | options increase the verbosity. | 590 | options increase the verbosity. |
590 | The maximum is 3. | 591 | The maximum is 3. |
591 | .It Fl w Ar tunnel : Ns Ar tunnel | 592 | .It Fl w Xo |
592 | Requests a | 593 | .Ar local_tun Ns Op : Ns Ar remote_tun |
594 | .Xc | ||
595 | Requests | ||
596 | tunnel | ||
597 | device forwarding with the specified | ||
593 | .Xr tun 4 | 598 | .Xr tun 4 |
594 | device on the client | 599 | devices between the client |
595 | (first | 600 | .Pq Ar local_tun |
596 | .Ar tunnel | 601 | and the server |
597 | arg) | 602 | .Pq Ar remote_tun . |
598 | and server | 603 | .Pp |
599 | (second | ||
600 | .Ar tunnel | ||
601 | arg). | ||
602 | The devices may be specified by numerical ID or the keyword | 604 | The devices may be specified by numerical ID or the keyword |
603 | .Dq any , | 605 | .Dq any , |
604 | which uses the next available tunnel device. | 606 | which uses the next available tunnel device. |
607 | If | ||
608 | .Ar remote_tun | ||
609 | is not specified, it defaults to | ||
610 | .Dq any . | ||
605 | See also the | 611 | See also the |
606 | .Cm Tunnel | 612 | .Cm Tunnel |
607 | directive in | 613 | and |
614 | .Cm TunnelDevice | ||
615 | directives in | ||
608 | .Xr ssh_config 5 . | 616 | .Xr ssh_config 5 . |
617 | If the | ||
618 | .Cm Tunnel | ||
619 | directive is unset, it is set to the default tunnel mode, which is | ||
620 | .Dq point-to-point . | ||
609 | .It Fl X | 621 | .It Fl X |
610 | Enables X11 forwarding. | 622 | Enables X11 forwarding. |
611 | This can also be specified on a per-host basis in a configuration file. | 623 | This can also be specified on a per-host basis in a configuration file. |