diff options
author | tb@openbsd.org <tb@openbsd.org> | 2019-01-21 22:50:42 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-01-22 22:42:01 +1100 |
commit | 622dedf1a884f2927a9121e672bd9955e12ba108 (patch) | |
tree | de34eb30dd40556cf73ed5e6e6ef3b8c945436b0 /scp.1 | |
parent | c882d74652800150d538e22c80dd2bd3cdd5fae2 (diff) |
upstream: Add a -J option as a shortcut for -o Proxyjump= to scp(1)
and sftp(1) to match ssh(1)'s interface.
ok djm
OpenBSD-Commit-ID: a75bc2d5f329caa7229a7e9fe346c4f41c2663fc
Diffstat (limited to 'scp.1')
-rw-r--r-- | scp.1 | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -8,9 +8,9 @@ | |||
8 | .\" | 8 | .\" |
9 | .\" Created: Sun May 7 00:14:37 1995 ylo | 9 | .\" Created: Sun May 7 00:14:37 1995 ylo |
10 | .\" | 10 | .\" |
11 | .\" $OpenBSD: scp.1,v 1.81 2018/09/20 06:58:48 jmc Exp $ | 11 | .\" $OpenBSD: scp.1,v 1.82 2019/01/21 22:50:42 tb Exp $ |
12 | .\" | 12 | .\" |
13 | .Dd $Mdocdate: September 20 2018 $ | 13 | .Dd $Mdocdate: January 21 2019 $ |
14 | .Dt SCP 1 | 14 | .Dt SCP 1 |
15 | .Os | 15 | .Os |
16 | .Sh NAME | 16 | .Sh NAME |
@@ -106,6 +106,19 @@ Selects the file from which the identity (private key) for public key | |||
106 | authentication is read. | 106 | authentication is read. |
107 | This option is directly passed to | 107 | This option is directly passed to |
108 | .Xr ssh 1 . | 108 | .Xr ssh 1 . |
109 | .It Fl J Ar destination | ||
110 | Connect to the target host by first making a | ||
111 | .Nm | ||
112 | connection to the jump host described by | ||
113 | .Ar destination | ||
114 | and then establishing a TCP forwarding to the ultimate destination from | ||
115 | there. | ||
116 | Multiple jump hops may be specified separated by comma characters. | ||
117 | This is a shortcut to specify a | ||
118 | .Cm ProxyJump | ||
119 | configuration directive. | ||
120 | This option is directly passed to | ||
121 | .Xr ssh 1 . | ||
109 | .It Fl l Ar limit | 122 | .It Fl l Ar limit |
110 | Limits the used bandwidth, specified in Kbit/s. | 123 | Limits the used bandwidth, specified in Kbit/s. |
111 | .It Fl o Ar ssh_option | 124 | .It Fl o Ar ssh_option |