diff options
Diffstat (limited to 'ssh.1')
-rw-r--r-- | ssh.1 | 36 |
1 files changed, 19 insertions, 17 deletions
@@ -33,8 +33,8 @@ | |||
33 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 33 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
34 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 34 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
35 | .\" | 35 | .\" |
36 | .\" $OpenBSD: ssh.1,v 1.385 2017/10/13 06:45:18 djm Exp $ | 36 | .\" $OpenBSD: ssh.1,v 1.386 2017/10/21 23:06:24 millert Exp $ |
37 | .Dd $Mdocdate: October 13 2017 $ | 37 | .Dd $Mdocdate: October 21 2017 $ |
38 | .Dt SSH 1 | 38 | .Dt SSH 1 |
39 | .Os | 39 | .Os |
40 | .Sh NAME | 40 | .Sh NAME |
@@ -52,7 +52,7 @@ | |||
52 | .Op Fl F Ar configfile | 52 | .Op Fl F Ar configfile |
53 | .Op Fl I Ar pkcs11 | 53 | .Op Fl I Ar pkcs11 |
54 | .Op Fl i Ar identity_file | 54 | .Op Fl i Ar identity_file |
55 | .Op Fl J Oo Ar user Ns @ Oc Ns Ar host Ns Op : Ns Ar port | 55 | .Op Fl J Ar destination |
56 | .Op Fl L Ar address | 56 | .Op Fl L Ar address |
57 | .Op Fl l Ar login_name | 57 | .Op Fl l Ar login_name |
58 | .Op Fl m Ar mac_spec | 58 | .Op Fl m Ar mac_spec |
@@ -64,7 +64,7 @@ | |||
64 | .Op Fl S Ar ctl_path | 64 | .Op Fl S Ar ctl_path |
65 | .Op Fl W Ar host : Ns Ar port | 65 | .Op Fl W Ar host : Ns Ar port |
66 | .Op Fl w Ar local_tun Ns Op : Ns Ar remote_tun | 66 | .Op Fl w Ar local_tun Ns Op : Ns Ar remote_tun |
67 | .Oo Ar user Ns @ Oc Ns Ar hostname | 67 | .Ar destination |
68 | .Op Ar command | 68 | .Op Ar command |
69 | .Ek | 69 | .Ek |
70 | .Sh DESCRIPTION | 70 | .Sh DESCRIPTION |
@@ -79,15 +79,23 @@ sockets can also be forwarded over the secure channel. | |||
79 | .Pp | 79 | .Pp |
80 | .Nm | 80 | .Nm |
81 | connects and logs into the specified | 81 | connects and logs into the specified |
82 | .Ar hostname | 82 | .Ar destination |
83 | (with optional | 83 | which may be specified as either |
84 | .Oo Ar user Ns @ Oc Ns Ar hostname | ||
85 | where the | ||
86 | .Ar user | ||
87 | is optional, or an ssh URI of the form | ||
88 | .No ssh:// Ns Oo Ar user Ns @ Oc Ns Ar hostname Ns Oo : Ns Ar port Oc | ||
89 | where the | ||
84 | .Ar user | 90 | .Ar user |
85 | name). | 91 | and |
92 | .Ar port | ||
93 | are optional. | ||
86 | The user must prove | 94 | The user must prove |
87 | his/her identity to the remote machine using one of several methods | 95 | his/her identity to the remote machine using one of several methods |
88 | (see below). | 96 | (see below). |
89 | .Pp | 97 | .Pp |
90 | If | 98 | If a |
91 | .Ar command | 99 | .Ar command |
92 | is specified, | 100 | is specified, |
93 | it is executed on the remote host instead of a login shell. | 101 | it is executed on the remote host instead of a login shell. |
@@ -287,17 +295,11 @@ by appending | |||
287 | .Pa -cert.pub | 295 | .Pa -cert.pub |
288 | to identity filenames. | 296 | to identity filenames. |
289 | .Pp | 297 | .Pp |
290 | .It Fl J Xo | 298 | .It Fl J Ar destination |
291 | .Sm off | ||
292 | .Op Ar user No @ | ||
293 | .Ar host | ||
294 | .Op : Ar port | ||
295 | .Sm on | ||
296 | .Xc | ||
297 | Connect to the target host by first making a | 299 | Connect to the target host by first making a |
298 | .Nm | 300 | .Nm |
299 | connection to the jump | 301 | connection to the jump host described by |
300 | .Ar host | 302 | .Ar destination |
301 | and then establishing a TCP forwarding to the ultimate destination from | 303 | and then establishing a TCP forwarding to the ultimate destination from |
302 | there. | 304 | there. |
303 | Multiple jump hops may be specified separated by comma characters. | 305 | Multiple jump hops may be specified separated by comma characters. |