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 /sftp.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 'sftp.1')
-rw-r--r-- | sftp.1 | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: sftp.1,v 1.123 2019/01/16 23:23:45 djm Exp $ | 1 | .\" $OpenBSD: sftp.1,v 1.124 2019/01/21 22:50:42 tb Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2001 Damien Miller. All rights reserved. | 3 | .\" Copyright (c) 2001 Damien Miller. All rights reserved. |
4 | .\" | 4 | .\" |
@@ -22,7 +22,7 @@ | |||
22 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 22 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
23 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 | .\" | 24 | .\" |
25 | .Dd $Mdocdate: January 16 2019 $ | 25 | .Dd $Mdocdate: January 21 2019 $ |
26 | .Dt SFTP 1 | 26 | .Dt SFTP 1 |
27 | .Os | 27 | .Os |
28 | .Sh NAME | 28 | .Sh NAME |
@@ -37,6 +37,7 @@ | |||
37 | .Op Fl D Ar sftp_server_path | 37 | .Op Fl D Ar sftp_server_path |
38 | .Op Fl F Ar ssh_config | 38 | .Op Fl F Ar ssh_config |
39 | .Op Fl i Ar identity_file | 39 | .Op Fl i Ar identity_file |
40 | .Op Fl J Ar destination | ||
40 | .Op Fl l Ar limit | 41 | .Op Fl l Ar limit |
41 | .Op Fl o Ar ssh_option | 42 | .Op Fl o Ar ssh_option |
42 | .Op Fl P Ar port | 43 | .Op Fl P Ar port |
@@ -181,6 +182,19 @@ Selects the file from which the identity (private key) for public key | |||
181 | authentication is read. | 182 | authentication is read. |
182 | This option is directly passed to | 183 | This option is directly passed to |
183 | .Xr ssh 1 . | 184 | .Xr ssh 1 . |
185 | .It Fl J Ar destination | ||
186 | Connect to the target host by first making a | ||
187 | .Nm | ||
188 | connection to the jump host described by | ||
189 | .Ar destination | ||
190 | and then establishing a TCP forwarding to the ultimate destination from | ||
191 | there. | ||
192 | Multiple jump hops may be specified separated by comma characters. | ||
193 | This is a shortcut to specify a | ||
194 | .Cm ProxyJump | ||
195 | configuration directive. | ||
196 | This option is directly passed to | ||
197 | .Xr ssh 1 . | ||
184 | .It Fl l Ar limit | 198 | .It Fl l Ar limit |
185 | Limits the used bandwidth, specified in Kbit/s. | 199 | Limits the used bandwidth, specified in Kbit/s. |
186 | .It Fl o Ar ssh_option | 200 | .It Fl o Ar ssh_option |