version 1.385, 2017/10/13 06:45:18 |
version 1.386, 2017/10/21 23:06:24 |
|
|
.Op Fl F Ar configfile |
.Op Fl F Ar configfile |
.Op Fl I Ar pkcs11 |
.Op Fl I Ar pkcs11 |
.Op Fl i Ar identity_file |
.Op Fl i Ar identity_file |
.Op Fl J Oo Ar user Ns @ Oc Ns Ar host Ns Op : Ns Ar port |
.Op Fl J Ar destination |
.Op Fl L Ar address |
.Op Fl L Ar address |
.Op Fl l Ar login_name |
.Op Fl l Ar login_name |
.Op Fl m Ar mac_spec |
.Op Fl m Ar mac_spec |
|
|
.Op Fl S Ar ctl_path |
.Op Fl S Ar ctl_path |
.Op Fl W Ar host : Ns Ar port |
.Op Fl W Ar host : Ns Ar port |
.Op Fl w Ar local_tun Ns Op : Ns Ar remote_tun |
.Op Fl w Ar local_tun Ns Op : Ns Ar remote_tun |
.Oo Ar user Ns @ Oc Ns Ar hostname |
.Ar destination |
.Op Ar command |
.Op Ar command |
.Ek |
.Ek |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
|
|
.Pp |
.Pp |
.Nm |
.Nm |
connects and logs into the specified |
connects and logs into the specified |
.Ar hostname |
.Ar destination |
(with optional |
which may be specified as either |
|
.Oo Ar user Ns @ Oc Ns Ar hostname |
|
where the |
.Ar user |
.Ar user |
name). |
is optional, or an ssh URI of the form |
|
.No ssh:// Ns Oo Ar user Ns @ Oc Ns Ar hostname Ns Oo : Ns Ar port Oc |
|
where the |
|
.Ar user |
|
and |
|
.Ar port |
|
are optional. |
The user must prove |
The user must prove |
his/her identity to the remote machine using one of several methods |
his/her identity to the remote machine using one of several methods |
(see below). |
(see below). |
.Pp |
.Pp |
If |
If a |
.Ar command |
.Ar command |
is specified, |
is specified, |
it is executed on the remote host instead of a login shell. |
it is executed on the remote host instead of a login shell. |
|
|
.Pa -cert.pub |
.Pa -cert.pub |
to identity filenames. |
to identity filenames. |
.Pp |
.Pp |
.It Fl J Xo |
.It Fl J Ar destination |
.Sm off |
|
.Op Ar user No @ |
|
.Ar host |
|
.Op : Ar port |
|
.Sm on |
|
.Xc |
|
Connect to the target host by first making a |
Connect to the target host by first making a |
.Nm |
.Nm |
connection to the jump |
connection to the jump host described by |
.Ar host |
.Ar destination |
and then establishing a TCP forwarding to the ultimate destination from |
and then establishing a TCP forwarding to the ultimate destination from |
there. |
there. |
Multiple jump hops may be specified separated by comma characters. |
Multiple jump hops may be specified separated by comma characters. |