Add pipeline-ish method using dd for file transfer over SSH (#18642)

This commit is contained in:
Andrew Gaffney
2016-11-27 19:52:31 -07:00
committed by Brian Coca
parent 2a90963833
commit ac51266e8f
5 changed files with 58 additions and 19 deletions

View File

@@ -331,12 +331,20 @@
#
#pipelining = False
# Control the mechanism for transferring files
# Control the mechanism for transferring files (old)
# * smart = try sftp and then try scp [default]
# * True = use scp only
# * False = use sftp only
#scp_if_ssh = smart
# Control the mechanism for transferring files (new)
# If set, this will override the scp_if_ssh option
# * sftp = use sftp to transfer files
# * scp = use scp to transfer files
# * piped = use 'dd' over SSH to transfer files
# * smart = try sftp, scp, and piped, in that order [default]
#transfer_method = smart
# if False, sftp will not use batch mode to transfer files. This may cause some
# types of file transfer failures impossible to catch however, and should
# only be disabled if your sftp version has problems with batch mode