add a -X option to both scp(1) and sftp(1) to allow control over
authordjm <djm@openbsd.org>
Fri, 16 Dec 2022 03:40:03 +0000 (03:40 +0000)
committerdjm <djm@openbsd.org>
Fri, 16 Dec 2022 03:40:03 +0000 (03:40 +0000)
commit50276ae189e105f77538787e1002746934f7e877
tree3bde353dd3a7f6c1e0993fb1d0091d1ab5eeb297
parent13f8c82f22c4e312df373c00fd5ab3937f79f02a
add a -X option to both scp(1) and sftp(1) to allow control over
some SFTP protocol knobs: the copy buffer length and the number of
inflight requests, both of which are used during upload/download.

Previously these could be controlled in sftp(1) using the -b/-R options.
This makes them available in both SFTP protocol clients using the same
option character sequence.

ok dtucker@
usr.bin/ssh/scp.1
usr.bin/ssh/scp.c
usr.bin/ssh/sftp-client.c
usr.bin/ssh/sftp.1
usr.bin/ssh/sftp.c