summaryrefslogtreecommitdiff
path: root/ssh.1
diff options
context:
space:
mode:
authormillert@openbsd.org <millert@openbsd.org>2017-10-21 23:06:24 +0000
committerDamien Miller <djm@mindrot.org>2017-10-23 16:10:08 +1100
commit887669ef032d63cf07f53cada216fa8a0c9a7d72 (patch)
tree089b20255da21a489d7bc796a8ee86bd0b8f028f /ssh.1
parentd27bff293cfeb2252f4c7a58babe5ad3262c6c98 (diff)
upstream commit
Add URI support to ssh, sftp and scp. For example ssh://user@host or sftp://user@host/path. The connection parameters described in draft-ietf-secsh-scp-sftp-ssh-uri-04 are not implemented since the ssh fingerprint format in the draft uses md5 with no way to specify the hash function type. OK djm@ Upstream-ID: 4ba3768b662d6722de59e6ecb00abf2d4bf9cacc
Diffstat (limited to 'ssh.1')
-rw-r--r--ssh.136
1 files changed, 19 insertions, 17 deletions
diff --git a/ssh.1 b/ssh.1
index 92092df1e..310f34cc9 100644
--- a/ssh.1
+++ b/ssh.1
@@ -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
81connects and logs into the specified 81connects and logs into the specified
82.Ar hostname 82.Ar destination
83(with optional 83which may be specified as either
84.Oo Ar user Ns @ Oc Ns Ar hostname
85where the
86.Ar user
87is 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
89where the
84.Ar user 90.Ar user
85name). 91and
92.Ar port
93are optional.
86The user must prove 94The user must prove
87his/her identity to the remote machine using one of several methods 95his/her identity to the remote machine using one of several methods
88(see below). 96(see below).
89.Pp 97.Pp
90If 98If a
91.Ar command 99.Ar command
92is specified, 100is specified,
93it is executed on the remote host instead of a login shell. 101it 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
288to identity filenames. 296to 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
297Connect to the target host by first making a 299Connect to the target host by first making a
298.Nm 300.Nm
299connection to the jump 301connection to the jump host described by
300.Ar host 302.Ar destination
301and then establishing a TCP forwarding to the ultimate destination from 303and then establishing a TCP forwarding to the ultimate destination from
302there. 304there.
303Multiple jump hops may be specified separated by comma characters. 305Multiple jump hops may be specified separated by comma characters.